Inserts a bill of materials (BOM) table in a part or assembly document.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim TemplateName As System.String
Dim X As System.Integer
Dim Y As System.Integer
Dim BomType As System.Integer
Dim ConfigurationName As System.String
Dim Hidden As System.Boolean
Dim IndentedNumberingType As System.Integer
Dim DetailedCutList As System.Boolean
Dim value As BomTableAnnotation
value = instance.InsertBomTable3(TemplateName, X, Y, BomType, ConfigurationName, Hidden, IndentedNumberingType, DetailedCutList) |
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
- IndentedNumberingType
- Type of numbering as defined by swNumberingType_e; valid only if BomType = swBomType_e.swBomType_Indented
- DetailedCutList
- True to show the detailed cut list, false to not; valid only if BomType = swBomType_e.swBomType_Indented
Return Value
BOM table annotation
Example
Remarks
See Also
Availability
SOLIDWORKS 2013 FCS, Revision Number 21.0