PdcMaterial.UserCheck

From External Bemet Wiki
Revision as of 09:35, 22 May 2012 by Mike (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)

Availability