PdcMaterial.UserCheck
Declaration
UserCheck(Index as long) as Boolean
Description
Returns or changes the value of a boolean userfield with the supplied index
Notes
This property returns or sets the fixed usercheckboxes of the current material. The supplied parameter is the index (1 to 5) of the usercheckbox
Code example
This code example returns usercheckbox 3 of the first material.
dim objCalc
dim objMat
set objCalc = pdc.ActiveCalculation
set objMat = objCalc.MaterialList(0)
msgbox objMat.UserCheck(3)