BOMQuantity.SetBaseQuantity Method
Parent Object: BOMQuantityDescription
Method that sets the base quantity for the component.
Syntax
BOMQuantity.SetBaseQuantity( QuantityType As BOMQuantityTypeEnum, [Quantity] As Variant )Parameters
Name | Type | Description |
QuantityType | BOMQuantityTypeEnum | Input BOMQuantityTypeEnum indicating the quantity type. If kParameterBOMQuantity is set, a Parameter needs to be specified as the second argument. |
Quantity | Variant | Input Variant specifying the quantity. If QuantityType is kParameterBOMQuantity, this argument expects a Parameter input, else this argument can be left unspecified. Only such parameters whose units resolve to being a linear length, a volume, or a mass are valid. This is an optional argument whose default value is null. |