&LYRSEL(layer number[,IFERR,label:])
Allows you to verify/change the global selectability of a layer.
If you specify the work layer, the system ignores it. The work layer must always be selectable.
NOTE: Setting a layer selectable automatically sets it visible.
Read/Write - Number - [1,2]
1 = &YES (layer is selectable)
2 =
&NO (layer is not selectable)
Parameter |
Description |
layer number |
The layer number of which you wish to change or read the global selectability. |
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 selectable. |
&NO |
GPA constant indicating that the specified layer is to be made not selectable. |