DoPickSwitch(3D)

NAME
DoPickSwitch - Create a primitive attribute object for enabling or disabling picking

SYNOPSIS
C:
DtObject DoPickSwitch(switchvalue)
DtSwitch switchvalue;

FORTRAN:
INTEGER*4 DOPS(SWVAL)
INTEGER*4 SWVAL

DESCRIPTION
DoPickSwitch creates a pickability primitive attribute object. Executing this object sets the current value of the pickability switch to switchvalue. Possible values for switchvalue are:

DcOn <DCON>
    Subsequent objects are eligible to be picked.

DcOff <DCOFF>
    Subsequent objects will be ignored for picking.

DoPickSwitch provides direct control of the pickability primitive attribute at the lowest level. For higher level control, see DoNameSet and DoFilter.

DEFAULTS
The default DoPickSwitch is DcOff <DCOFF>.

SEE ALSO
DdPickObjs(3D), DoNameSet(3D), DoFilter(3D)