Click or drag to resize

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

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: String
The automatically calculated quantity.
Remarks
This may not work if a custom Level of Detail is currently active.
See Also