find_text
find_text [ -values_textExpr] [ -setd_setObj| -windowi_windowID] [ -ignore_case ] [ -silent ]
Description
Returns a set containing text objects in the given set or in a window.
The GUI equivalent for this command is Edit—Find (Text).
Arguments
Value Returned
|
Specifies the set identifier for the set of text objects found that match the criteria. |
Examples
The following example searches the entire design for all text objects named lbl*, adds the objects to the set identified by variable mylbl, then replaces the selected set with the new set of objects. You can use the Properties form to navigate the set of text objects that are found.
set mylbl [find_text -value lbl*]
replace_set -set1 $mylbl -set2 [get_selection_set]
Related Topics
Return to top