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.
Parent Property that returns the parent ComponentDefinition object.
PartsOnlyViewEnabled
PartsOnlyViewMinimumDigits
PartsOnlyViewNumberingScheme
RequiresUpdate Determines whether the BOM requires an update.
RevisionId Property that returns the GUID that represents the last saved revision of this BOM.
StructuredViewDelimiter
StructuredViewEnabled
StructuredViewFirstLevelOnly
StructuredViewMinimumDigits
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