find_bounds
find_bounds -setd_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
|
Limits the geometry to the layers and/or layer purposes in the given list. |
|
Value Returned
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
Return to top