Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

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

-color s_color

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 http://eies.njit.edu/~walsh/rgb.html.

-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" Objects 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.

-window_id i_windowID

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

View Commands


Return to top
 ⠀
X