ICadBomCalculateQuantity Method |
Sets the BOM quantity back to the automatically calculated quantity.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Function CalculateQuantity (
viewName As String,
partNumber As String
) As String
string CalculateQuantity(
string viewName,
string partNumber
)
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.
Return Value
Type:
StringThe automatically calculated quantity.
Remarks This may not work if a custom Level of Detail is currently active.
See Also