Hide Table of Contents
InsertBomTable3 Method (IModelDocExtension)

Inserts a bill of materials (BOM) table in a part or assembly document.

.NET Syntax

Visual Basic (Declaration) 
Function InsertBomTable3( _
   ByVal TemplateName As System.String, _
   ByVal X As System.Integer, _
   ByVal Y As System.Integer, _
   ByVal BomType As System.Integer, _
   ByVal ConfigurationName As System.String, _
   ByVal Hidden As System.Boolean, _
   ByVal IndentedNumberingType As System.Integer, _
   ByVal DetailedCutList As System.Boolean _
) As BomTableAnnotation
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)
C# 
BomTableAnnotation InsertBomTable3( 
   System.string TemplateName,
   System.int X,
   System.int Y,
   System.int BomType,
   System.string ConfigurationName,
   System.bool Hidden,
   System.int IndentedNumberingType,
   System.bool DetailedCutList
)
C++/CLI 
BomTableAnnotation^ InsertBomTable3( 
&   System.String^ TemplateName,
&   System.int X,
&   System.int Y,
&   System.int BomType,
&   System.String^ ConfigurationName,
&   System.bool Hidden,
&   System.int IndentedNumberingType,
&   System.bool 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

The system does not default to the Default configuration when you specify an empty string for Configuration. You must specify the configuration.

BOM table templates are in the <SOLIDWORKS_install_dir>\lang\<language> folder and have a filename extension of .sldbomtbt. The template and table must be of the same type. For example, you could specify C:\Program Files\SOLIDWORKS\lang\English\bom-standard.sldbomtbt for TemplateName if you wanted to insert an English-version of the standard BOM table template.

If the BOM table is a parts-only or indented-style BOM and ConfigurationName is invalid, then the BOM is not created.

 

See Also

Availability

SOLIDWORKS 2013 FCS, Revision Number 21.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   InsertBomTable3 Method (IModelDocExtension)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2018 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.