ICadBomOverrideQuantity Method |
Overrides a quantity of an item in the BOM.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Sub OverrideQuantity (
viewName As String,
partNumber As String,
quantity As Integer
)
void OverrideQuantity(
string viewName,
string partNumber,
int quantity
)
Parameters
- viewName
- Type: SystemString
The name of the BOM view. This must be "Model Data" - partNumber
- Type: SystemString
The part number of the component to override. - quantity
- Type: SystemInt32
The quantity to assign to the item.
Remarks This may not work if a custom Level of Detail is currently active.
See Also