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

find_by_index

find_by_index 
-region {f_xlo f_ylo f_xhi f_yhi} 
-indices {i_index } 
[ -window_id i_windowID ]

Description

Creates a set of objects in the given area for the top cellview of the active window or the given window. Space-based Router finds the list of objects that meet the criteria determined by the routing object granularity (net, route or connected shapes). Active individual shapes in the given area are always included in the list. The -indices argument gives the index for each object in the list that you want to include in the new set. This command is used by the cycle select function.

Arguments

-region {f_xlo f_ylo f_xhi f_yhi}

Specifies the lower-left (f_xlo, f_ylo) and the upper-right (f_xhi, f_yhi) bounding box coordinates for the search area.

-indices {i_index }

Specifies the index numbers for the objects from the list to include in the new set.

-window_id i_windowID

Limits the search to objects in the top cellview of the specified window. If this argument is not given, the active window is used.

Value Returned

d_setObj

Returns the identifier for the new set.

Examples

The following command creates a list of active objects in the given area and adds the first object from the list (with an index of 0) to the selected set.

replace_set -set1 [or_sets -set1 [get_selection_set] -set2 [find_by_index -region { 898.13 1794.88 898..5 1795.70 } -indices {0}]] -set2 [get_selection_set]

Related Topics

Edit Commands


Return to top
 ⠀
X