PdcMaterial.Quantity

From External Bemet Wiki
Revision as of 09:29, 22 May 2012 by Mike (talk | contribs) (Created page with "== Declaration == Quantity as double == Description == Returns the total quantity (readonly) == Notes == This property returns the total quantity for the current material. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

Quantity as double

Description

Returns the total quantity (readonly)

Notes

This property returns the total quantity for the current material. Eg When length and width are both 1000mm, the number property is 5 and the production quantity of the calculation is 10, quantity will return 50.

Code example

This code example returns the quantity for the first material.

dim objCalc

dim objMat

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

Availability