PdcMaterial.UserCheck: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == UserCheck(Index as long) as Boolean == Description == Returns or changes the value of a boolean userfield with the supplied index == Notes == This propert..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
== Notes == | == 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 | This property returns or sets the fixed usercheckboxes of the current material. | ||
The supplied parameter is the index (1 to 5) of the usercheckbox. The corresponding fieldname starts with 1 (DMU_VINK1) | |||
== Code example == | == Code example == |
Latest revision as of 10:37, 20 December 2018
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. The corresponding fieldname starts with 1 (DMU_VINK1)
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)