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

replace_set

replace_set 
-set1 d_setObj 
-set2 d_setObj 

Description

Replaces objects from one set with objects from another set.

Arguments

-set1 d_setObj

Specifies the set to copy objects from.

-set2 d_setObj

Specifies the set to replace.

Value Returned

d_setObj

The set identifier for set2.

0

The objects were not copied.

Examples

The following example removes objects from the highlight set named HL2 and copies objects from the highlight set named HL1 into HL2.

replace_set -set1 [get_highlight -name HL1] -set2 [get_highlight -name HL2]

The following example is equivalent to choosing Select Contents from the highlight set pop-up menu for the highlight set named HL1 in the Layer Object Display Panel. The command adds objects from HL1 to the selected set.

replace_set -set1[or_sets -set1 [get_highlight -name HL1]
-set2 [get_selection_set]] -set2[get_selection_set]

Related Topics

Manipulate Sets


Return to top
 ⠀
X