PdcMaterial.Single
Jump to navigation
Jump to search
Declaration
Single as Boolean
Description
Notes
This property returns or sets the Single propery for the current material. When set to 'true' this means that the quantity is for the entire production quantity.
Eg. When the production quantity is 10 and the material number is 5 this means you need 50 pieces of this material. When Single is set to 'true' for this material only 5 pieces are needed for the 10 products.
Code example
This code example returns value of the single property for the first material.
dim objCalc
dim objMat
set objCalc = pdc.ActiveCalculation
set objMat = objCalc.MaterialList(0)
msgbox objMat.Single