Previous Next Up Title Contents General Index Functions Index Bookshelf

SAMPLE PICK

PSMPK


CALL SEQUENCE

PSMPK (WKID, PKDNR, IPPD, STAT, PPD, PP)

INPUT PARAMETERS

INTEGER	WKID
INTEGER	PKDNR
INTEGER	IPPD

OUTPUT PARAMETERS

INTEGER	STAT
INTEGER	PPD
INTEGER	PP(3,IPPD)

ARGUMENTS

WKID
Workstation identifier.
PKDNR
PICK input device identifier.
IPPD
Maximum depth of path to be returned.
STAT
Current selection state.
PPD
Depth of path actually returned.
PP(3,IPPD)
Path describing current selected entity.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Returns the structure intersecting the pick aperture of the active device, PKDNR.

Example:

C Sample pick
	INTEGER WKID,PKDNR,IPPD,STAT,PPD,PP(3,5)
	.....
	WKID = 1
	PKDNR = 1
	IPPD = 5
	call PSMPK(WKID,PKDNR,IPPD,STAT,PPD,PP)
	......

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
60
Ignoring function, specified workstation is not of category OUTIN
250
Ignoring function, the specified device is not available on the specified workstation
252
Ignoring function, the function requires the input device to be in SAMPLE mode

SEE ALSO

set pick mode, initialize pick 3, request pick , get pick , await event, inquire pick device state 3, inquire default pick device state 3, pick without interaction (ext)


Previous Next Up Title Contents General Index Functions Index Bookshelf