Inserts a bill of materials (BOM) table in a part or assembly document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertBomTable2( _
ByVal TemplateName As String, _
ByVal X As Integer, _
ByVal Y As Integer, _
ByVal BomType As Integer, _
ByVal ConfigurationName As String, _
ByVal Hidden As Boolean _
) As BomTableAnnotation |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim TemplateName As String
Dim X As Integer
Dim Y As Integer
Dim BomType As Integer
Dim ConfigurationName As String
Dim Hidden As Boolean
Dim value As BomTableAnnotation
value = instance.InsertBomTable2(TemplateName, X, Y, BomType, ConfigurationName, Hidden)
|
Parameters
- TemplateName
- Path and name of BOM table template (see Remarks)
- X
- X coordinate for the placement of the BOM table
- Y
- Y coordinate for the placement of the BOM table
- BomType
- Type of BOM table as defined by swBomType_e
- ConfigurationName
- Name of the configuration for this BOM table (see Remarks)
- Hidden
- True to hide the BOM table, false to show it
Return Value
BOM table annotation
Example
Remarks
See Also
Availability
SolidWorks 2010 FCS, Revision Number 18.0