PdcMaterialList.Delete

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Delete(Index as long)

Description

Removes a material object

Notes

This property deletes the material at the supplied index.

Code example

This code example deletes the first material of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  objCalc.MaterialList.Delete(0)

Availability