PdcMaterial.AreaFact
Jump to navigation
Jump to search
Declaration
AreaFact as double
Description
Returns or changes the area factor
Notes
This property sets or returns the area factor of the material and is obviously only of interest for m2 products.
Code example
This code example opens a calculation, loops through its materials, and shows the area factor for each material in a message box.
dim objCalc
set objCalc = pdc.OpenCalculation("00685")
for i = 0 to objCalc.MaterialList.Count -1
set objMat = objCalc.MaterialList(i)
msgbox "The area factor is" & objMat.AreaFact
next