Share

BOM Object


Description

The BOM object represents the Bill Of Materials (BOM) data of a document.

Methods

Name Description
ExportBOMCustomization Export BOM column customization as XML file.
GetPartNumberMergeSettings Method that gets the part number row merge settings for the BOM.
GetPartNumberMergeSettings2 Gets the part number row merge settings for the BOM.
ImportBOMCustomization Import BOM column customization as XML file.
SetPartNumberMergeSettings Method that sets the part number row merge settings for the BOM.
SetPartNumberMergeSettings2 Sets the part number row merge settings for the BOM.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
BOMViews Property that gets the BOMViews collection object.
HideSuppressedComponentsInBOM Gets and sets whether to hide the suppressed components in BOM.
Parent Property that returns the parent ComponentDefinition object.
PartsOnlyViewEnabled Gets and sets whether the parts only BOM view is enabled.
PartsOnlyViewMinimumDigits Gets and sets the minimum number of digits displayed in a parts only view with the PartsOnlyViewNumberingScheme set to kNumericNumbering.
PartsOnlyViewNumberingScheme gets and sets the numbering scheme for a 'Parts Only' view.
RenumberItemsSequentially Gets and sets whether to renumber the items sequentially or not.
RequiresUpdate Determines whether the BOM requires an update.
RevisionId Property that returns the GUID that represents the last saved revision of this BOM.
StructuredViewDelimiter Gets and sets the delimiter to use for numbering. This property applies only for an all-level structured view.
StructuredViewEnabled Gets and sets whether the structured BOM view is enabled.
StructuredViewFirstLevelOnly Gets and sets whether the structured view is an 'all-level' or a 'first level only' view.
StructuredViewMinimumDigits Gets and sets the minimum number of digits displayed in a 'first level only' structured view.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

AssemblyComponentDefinition.BOM, BOMView.Parent, WeldmentComponentDefinition.BOM

Samples

Name Description
Creation a balloon This sample demonstrates the creation of a balloon.
Using the BOM APIs This sample demonstrates the Bill of Materials API functionality in assemblies.
Exporting the assembly BOM This sample demonstrates exporting the Assembly BOM to an external file.

Version

Introduced in version 10

Was this information helpful?