You can use severel methods to select all texts of a specific type (value) in a drawing. Let us have a drawing containing three separate text objects (Dtext/Mtext): Adam,Bravo,Charlie. Our goal is to select the text entities Adam and Bravo.
The simplest way is to use the FILTER command. In the filter type choose Text, value and in the X field enter [AB]* (see wildcard characters in Help). Click the "Add to list" button and use the filter.
Another option is to use a filter in the AutoLISP selection function - (ssget). For the requested type of selection, this function would read:
(ssget "_X" '((0 . "TEXT,MTEXT")(1 . "A*,B*")))
You can enter this LISP expression directly on the "Select objects" prompt.
The simplest way is to use the FILTER command. In the filter type choose Text, value and in the X field enter [AB]* (see wildcard characters in Help). Click the "Add to list" button and use the filter.
Another option is to use a filter in the AutoLISP selection function - (ssget). For the requested type of selection, this function would read:
(ssget "_X" '((0 . "TEXT,MTEXT")(1 . "A*,B*")))
You can enter this LISP expression directly on the "Select objects" prompt.
No comments:
Post a Comment