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

add_highlight

add_highlight 
-color s_color 
-name s_name 
-set d_setObj 

Description

Highlights the specified objects. If no arguments are given, an empty highlight set is created. Once created, the highlight set is listed in the Objects section of the Layer Object Display Panel under highlights.

The GUI equivalent for this command is Edit—Highlight—Create Highlight Set.

Arguments

-color s_color

Specifies the color to use for highlighting.

Default: The next available color as shown in the Create Highlight Set form.

-name s_name

Specifies the name to assign to the highlight set.

Default: HLx where x is the next available integer value.

-set d_setObj

Specifies a set of objects to highlight.

Value Returned

1

The highlight set is created and the given objects are highlighted.

Examples

In the following example, the find command finds instances matching the given expression. The results are stored in myset, then are highlighted in green in the artwork window. The highlight set is given the name I101s.

set myset [find_instance -name I101*]
add_highlight -color "green" -set $myset -name I101s

Related Topics

Edit Commands


Return to top
 ⠀
X