Inserts a bill of materials (BOM) table for this drawing view using SOLIDWORKS table functionality.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IView
Dim UseAnchorPoint As System.Boolean
Dim X As System.Double
Dim Y As System.Double
Dim AnchorType As System.Integer
Dim BomType As System.Integer
Dim Configuration As System.String
Dim TableTemplate As System.String
Dim Hidden As System.Boolean
Dim IndentedNumberingType As System.Integer
Dim DetailedCutList As System.Boolean
Dim value As BomTableAnnotation
value = instance.InsertBomTable4(UseAnchorPoint, X, Y, AnchorType, BomType, Configuration, TableTemplate, Hidden, IndentedNumberingType, DetailedCutList) |
Parameters
- UseAnchorPoint
- If true and the appropriate sheet format anchor point exists, then insert table at this point; if false, then use the values
specified for the X and Y arguments as the insertion point
- X
- X coordinate for the placement of the BOM table
- Y
- Y coordinate for the placement of the BOM table
- AnchorType
- Anchor type as defined by swBomConfigurationAnchorType_e
- BomType
- Type of BOM table as defined by swBomType_e
- Configuration
- Name of the configuration for this BOM table (see Remarks)
- TableTemplate
- Path and filename of the template that you want to use that corresponds to this type of 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 for BomType = swBomType_e.swBomType_Indented
- DetailedCutList
- True to show the detailed cut list, false to not; valid only for BomType = swBomType_e.swBomType_Indented
Return Value
BOM table annotation
Example
Remarks
See Also
Availability
SOLIDWORKS 2013 FCS, Revision Number 21.0