view_layer
view_layer
{-all layers [ true | false ] | -lpp {s_layerlpp …}}
-visible [ true | false ]
[ -norepaint ]
[ -window_id i_windowID ]
Description
Sets the visibility of a layer or object. The window is refreshed unless the -norepaint is specified.
Arguments
|
-all_layers [ true | false ]
|
|
|
Sets the visibility for all layer purposes that correspond to physical layers.
|
|
-lpp {s_layerlpp…}
|
Specifies the list of layer purposes and objects to assign the color to. Layer purposes are represented as strings in the following format layer:layer purpose. For example, "met3:Blockage" Object types are similarly represented.
|
|
-norepaint
|
Overrides the default action to refresh the window after this command is processed. This option is useful when you are issuing commands from a Tcl script and want to delay refreshing the window until all commands have been issued.
|
|
-visible [ true | false ]
|
|
|
Specifies the visibility of the items in the layer_list. If no setting is specified, items in the list are made visible.
|
|
-window_id i_windowID
|
Specifies the identifier of the window to refresh. If this option is not used, the active window is refreshed.
|
Examples
The following example hides the blockage and wire:pin layer purposes of met3.
view_layer -visible false -lpp { "met3:blockage" "met3:wire:pin" }
The following example makes guides and the wire:detail layer purpose of met2 visible.
view_layer -visible -lpp { guides met2:wire:detail }
The following example makes all layer purposes in the active artwork visible.
view_layer -visible true -all_layers
Related Topics
View Commands
Return to top