PdcMaterial.Scrap

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Scrap as double

Description

Returns or changes the scrap percentage

Notes

This property returns or sets the Scrap for the current material.

Code example

This code example returns the scrap for the first material.

dim objCalc

dim objMat

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

Availability