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