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

find_bounds

find_bounds
-set d_setObj 
[ -lpp {s_layerlpp…} ] 

Description

Returns a bounding box of the geometry in the given set. You can optionally restrict the geometry to shapes on the given layers and/or layer purposes.

Arguments

-lpp {s_layerlpp…}

Limits the geometry to the layers and/or layer purposes in the given list.

-set d_setObj

Specifies the object set to operate on.

Value Returned

f_xlo f_ylo f_xhi f_yhi

  

Are the bounding box coordinates, represented as strings.

Examples

The following example gets the bounding box for objects in the selected set and displays the box as a rectangle annotation.

add_rectangle -rect [find_bounds -set [get_selection_set]] -color cyan -lineWidth 1

Related Topics

Edit Commands


Return to top
 ⠀
X