Overview | Statement List


图层控制

Synopsis

LAYER/[WORK,n],[ACTIVE,{REST|layer list[,CAT,'cat']}],[REF,{REST|layer list[,CAT,'cat']}],[INACT,{REST|layer list[,CAT,'cat']}]

Description

Establishes the operating status of the 256 available layers.

Use the EDA &LAYER to later change the layer of a specified object. You can also verify/change the global selectability/visibility of a layer with EDAs &LYRSEL and &LYRVIS. For more information on these EDAs, see the EDA Symbol List.

Parameters

Parameter

Description

WORK

Minor word which indicates that the following parameter establishes the work layer. The work layer is the only layer on which objects may be created.

n

The number of the work layer.

ACTIVE

Minor word which indicates that the following minor word or list establishes the active layers. Objects on active layers are visible and selectable.

REF

Minor word which indicates that the following minor word or list establishes the reference layers. Objects on reference layers are visible, but not selectable.

INACT

Minor word which indicates that the following minor word or list establishes the inactive layers. Objects on inactive layers are neither visible nor selectable.

REST

Minor word which follows each of the minor words ACTIVE, REF and INACT and may appear only once in a layer statement. REST indicates that the status of all layers not previously determined in the statement, assumes the status of the preceding minor word.

layer list

Each of the minor words ACTIVE, REF, and INACT may be followed by an optional list of layer numbers separated by commas which assumes the status of the associated minor word. The layer list may contain either a list of layer values separated by commas and/or a subrange of layers (1..256).

CAT

Minor word which indicates that an existing category name is to be specified.

'cat'

A string or string variable which represents a previously defined layer category name which, if used, must be last in the layer list.

 


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.