PdcMaterial.Length

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Length as double

Description

Returns or changes the length

Notes

This property sets or returns the material's length.

Code example

This code example opens a calculation, loops through its materials and returns the length 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