PdcMaterial.Weight
Jump to navigation
Jump to search
Declaration
Weight as double
Description
Returns the weight (readonly)
Notes
This property returns or sets the weight of the current material.
Code example
This code example returns weight of the first material. This will override the calculated weight.
dim objCalc
dim objMat
set objCalc = pdc.ActiveCalculation
set objMat = objCalc.MaterialList(0)
msgbox objMat.weight