BOMRow Object


Description

The BOMRow object represents an item in the BOM based on the parent BOMView.

Methods

Name Description
GetReferenceKey Method that generates and returns the reference key for this entity.

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.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
BOMStructure
ChildRows Property that gets the BOMRowsEnumerator object containing the locally-stored rows under this BOMRow. This property will return Nothing for BOMRows in a parts-only view and if there are no sub-rows for this BOMRow.
ComponentDefinitions Property that returns the ComponentDefinitions associated with this row in the BOM. These could be part, sheet metal, assembly, weldment or a virtual component definitions. This enumerator will return just one component definition unless this row is a merged one, in which case all associated component definitions are returned. The first component definition in the enumerator is always the primary component definition.
ComponentOccurrences
ItemNumber
ItemNumberLocked
ItemQuantity Property that gets the number of instances not marked as phantom or reference represented by this BOM row.
Merged Property that returns whether this row is a result of a merging multiple rows. If true, the ComponentDefinitions property returns all the associated component definitions. This property will return False for all rows in the data BOMView.
OccurrencePropertySets
Parent Property that returns the parent BOMView or the BOMRow object.
Promoted Property that returns whether this row was promoted (for instance, as a result of the parent subassembly being marked phantom). This property will return False for all rows in the data BOMView.
ReferencedFileDescriptor Gets the FileDescriptor for the component referenced by this row. This only applies to non merged component rows and non local components and immediately referenced components. Therefore this would only be useful in the data view.
RolledUp Indicates whether this row is a result of rolling up multiple promoted rows of the same ComponentDefinition.
TotalQuantity
TotalQuantityOverridden
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

BOMRowsEnumerator.Item, DrawingBOMRow.BOMRow

Samples

Name Description
Using the BOM APIs This sample demonstrates the Bill of Materials API functionality in assemblies.

Version

Introduced in version 10