PdcMaterial.Quantity
Jump to navigation
Jump to search
Declaration
Quantity as double
Description
Returns the total quantity (readonly)
Notes
This property returns the total quantity for the current material. Eg When length and width are both 1000mm, the number property is 5 and the production quantity of the calculation is 10, quantity will return 50.
Code example
This code example returns the quantity for the first material.
dim objCalc
dim objMat
set objCalc = pdc.ActiveCalculation
set objMat = objCalc.MaterialList(0)
msgbox objMat.Quantity