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