PdcCalculation.Material: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability ==" |
No edit summary |
||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
Material as [[PdcMaterial]] | |||
== Description == | == Description == | ||
Returns the material object of a subcalculation/subarticle | |||
== Notes == | == 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 == | == Code example == | ||
This code example returns the description of the subcalculation present at materiallist index 'i'. | |||
<source lang="vb"> | <source lang="vb"> | ||
Dim objCalc | |||
Set objCalc = pdc.ActiveCalculation | |||
msgbox objCalc.Material(i).Description | |||
</source> | </source> | ||
== Availability == | == Availability == |
Latest revision as of 09:29, 21 May 2012
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