PdcMaterial.Height: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == Height as double == Description == Returns or changes the height == Notes == This property sets or returns the material's height. == Code example == This ..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
for i = 0 to objCalc.MaterialList.Count -1 | for i = 0 to objCalc.MaterialList.Count -1 | ||
set objMat = objCalc.MaterialList(i) | set objMat = objCalc.MaterialList(i) | ||
msgbox "Material's length: " & objMat. | msgbox "Material's length: " & objMat.Height | ||
next | next | ||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since July 2015 (from version 5.0) |
Latest revision as of 07:59, 6 July 2015
Declaration
Height as double
Description
Returns or changes the height
Notes
This property sets or returns the material's height.
Code example
This code example opens a calculation, loops through its materials and returns the height for each of them.
dim objCalc
set objCalc = pdc.OpenCalculation("00685")
for i = 0 to objCalc.MaterialList.Count -1
set objMat = objCalc.MaterialList(i)
msgbox "Material's length: " & objMat.Height
next
Availability
Available since July 2015 (from version 5.0)