Share

BOMQuantity Object


Description

This object provides methods and properties allowing the BOM row unit quantity to be computed.

Methods

Name Description
GetBaseQuantity Method that retrieves the base quantity for the component.
GetEvaluatedBaseQuantity Method that retrieves the stored base quantity for the component.
SetBaseQuantity Method that sets the base quantity for the component.

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.
BaseUnits Gets and sets the true unit that the component is quantified in. This property only applies if the BaseQuantity is set to a parameter.
Parent Property that returns the parent ComponentDefinition object.
Type Returns an ObjectTypeEnum indicating this object's type.
UnitQuantity Property that returns the unit quantity derived from two other properties, the BaseQuantity and the BaseUnits.

Accessed From

AssemblyComponentDefinition.BOMQuantity, ComponentDefinition.BOMQuantity, FlatPattern.BOMQuantity, PartComponentDefinition.BOMQuantity, SheetMetalComponentDefinition.BOMQuantity, VirtualComponentDefinition.BOMQuantity, WeldmentComponentDefinition.BOMQuantity, WeldsComponentDefinition.BOMQuantity

Version

Introduced in version 10

Was this information helpful?