replace_set
replace_set -set1d_setObj-set2d_setObj
Description
Replaces objects from one set with objects from another set.
Arguments
Value Returned
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
Return to top