PdcMaterial.Status

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Status as Variant

Description

Returns the status

Notes

This property returns the Status for the current material. The stated table shows the possible Status return types.

Parameters - Description
0 - Not Active
1 - OHW
2 - Ready

Code example

This code example returns the Status for the first material.

dim objCalc

dim objMat

  set objCalc = pdc.ActiveCalculation
  set objMat = objCalc.MaterialList(0)
  msgbox objMat.Status

Availability