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 DissolvePartLevelRows As System.Boolean
Dim value As System.Object
value = instance.InsertBomTable4(TemplateName, X, Y, BomType, ConfigurationName, Hidden, IndentedNumberingType, DetailedCutList, DissolvePartLevelRows) |
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
- DissolvePartLevelRows
- True to dissolve part level rows, false to not; valid only if DetailedCutList is true
Return Value
BOM table annotation
Example
Remarks
See Also
Availability
SOLIDWORKS 2024 FCS, Revision Number 32