Share

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 Gets and sets how the BOM item represented by this row is used/viewed relating to design.
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 Gets the ComponentOccurrences associated with this row in the BOM.
ItemNumber Gets and sets the item number of the BOM item.
ItemNumberLocked Gets and sets whether the item identifier can be edited.
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 Read-only property that returns a PropertySets object associated with this BOMRow. This only applies to non merged component rows with Instance Properties.
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 Gets and sets the total quantity of the BOM item. Overrides cannot be set for parts only views.
TotalQuantityOverridden Gets and sets whether the TotalQuantity property has been overridden. This property can only be set to False, in which case the override on the value will be removed.
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

Was this information helpful?