set_layer_attributes
set_layer_attributes
-lpp {s_layerlpp …}
-color s_color
[ -norepaint]
[ -window_id i_windowID]
Description
Sets the color for layer purposes and objects. Multiple objects may be specified but only one color.
Arguments
|
Specifies the color in hexadecimal, preceded by a pound sign (#), or as a string name of the color. A list of colors and their hexadecimal equivalents can be found on |
|
|
Specifies the list of layer purposes and objects to assign the color to. Layer purposes are represented as strings in the following format layer |
|
|
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. |
|
|
Specifies the identifier of the window to set attributes for. If this argument is not specified, the active window is used. |
Examples
The following example assigns the color represented by #ff8a5c to all met2 layer purposes, and the met1 layer purposes blockage, wire:pin and wire:detail.
set_layer_attributes -lpp {"met2" "met1:wire:pin" "met1:wire:detail"}
-color #ff8a5c
The following example makes instance boundaries drawn in red.
set_layer_attributes -lpp { "instance:boundary"} -color red
Related Topics
Return to top