Share

ICadBom.CalculateQuantity 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: 30.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: String
The automatically calculated quantity.

Remarks

This may not work if a custom model state is currently active.

See Also

Reference

Was this information helpful?