PdcMaterial.PricePerUnit

From External Bemet Wiki
Revision as of 09:27, 22 May 2012 by Mike (talk | contribs) (Created page with "== Declaration == PricePerUnit as double == Description == Returns or changes the price par unit == Notes == This property returns or sets the PricePerUnit property for the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

PricePerUnit as double

Description

Returns or changes the price par unit

Notes

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

Code example

This code example returns the PricePerUnit for the first material.

dim objCalc

dim objMat

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

Availability

Available since September 2008.