PdcCalculation.Material

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Material as PdcMaterial

Description

Returns the material object of a subcalculation/subarticle

Notes

This property returns the material object of a subcalculation/subarticle. It can be used for example to change properties of a subcalculation.

Code example

This code example returns the description of the subcalculation present at materiallist index 'i'.

Dim objCalc

  Set objCalc = pdc.ActiveCalculation
  msgbox objCalc.Material(i).Description

Availability