PdcMaterial.Height

From External Bemet Wiki
Revision as of 07:57, 6 July 2015 by TC (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.Length
  next

Availability