&LYRVIS(layer number[,IFERR,label:])
Allows you to verify/change the global visibility of a layer.
If you specify the work layer, the system ignores it. The work layer must always be visible.
NOTE: Setting a layer not visible automatically sets it not
selectable.
Read/Write - Number - [1,2]
1 = &YES (layer is visible)
2 =
&NO (layer is not visible)
Parameter |
Description |
layer number |
The layer number of which you wish to change or read the global visibility. |
IFERR,label: |
Specifies a label to which program execution jumps if an error occurs. Possible errors include: invalid layer number; value not within valid limits. |
&YES |
GPA constant indicating that the specified layer is to be made visible. |
&NO |
GPA constant indicating that the specified layer is to be made not visible. |