INQUIRE INTERIOR FACILITIES PLUS
-
CALL SEQUENCE
CALL PQIFP (WTYPE, NI, NH, NRSM, ERRIND, NIS, IS, NHS, HS, NSM, SM, NPFAI)
INPUT PARAMETERS
- INTEGER WTYPE
- Workstation type
- INTEGER NI
- List element of interior style requested
- INTEGER NH
- List element of hatch style requested
- INTEGER NRSM
- List element of shading method requested
OUTPUT PARAMETERS
- INTEGER ERRIND
- Error indicator
- INTEGER NIS
- Number of available interior styles
- INTEGER IS
- Nth element of list of available interior styles
- INTEGER NHS
- Number of available hatch style
- INTEGER HS
- Nth element of list of available hatch styles
- INTEGER NSM
- Number of available shading method
- INTEGER SM
- Nth element of list of available shading method
- INTEGER NPFAI
- Number of predefined interior indices
PHIGS STATE
(PHOP,*,*,*)
EFFECT
Returns the interior drawing facilities offered by workstations of type
WTYPE. If the inquired information is available, the error indicator is
returned as 0 and values are returned in the output parameters.
If the number of available hatch styles is positive, the list of available
hatch styles contains all registered and implementation dependent hatch styles
supported. If the number of available hatch styles is negative, the
implementation dependent hatch styles are derived directly from the hatch style
value and the list of available hatch styles contains the number of registered
hatch styles; the number of which is indicated by the absolute value of the
number of available hatch styles.
If the inquired information is not available, the values returned in the output
parameters are implementation dependent and the error indicator is set to one
of the following error numbers to indicate the reason for non-availability:
ERRORS
- 2
Ignoring function, function requires state (PHOP, *,*,*)
- 52
- Ignoring function, workstation type not recognized by the implementation
- 51
- Ignoring function, this information is not yet available for this generic
workstation type: open a workstation of this type and use the specific
workstation type
- 59
- Ignoring function, the specified workstation does not have output
capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
- 62
- Ignoring function, this information is not available for this MO
workstation type
-
SEE ALSO
set interior representation plus, inquire interior representation plus, inquire
predefined interior representation plus.