Programmer utility from Harry's library. Function (ssFilterText "*filter*") will build a selection set from the TEXT objects found in the drawing. All the text entity objects will be tested against a filter using the (WCMATCH) [Wild Card Match] subr in LISP. For example, to build a selection set of text entity objects containing the character sequence "the" one would code: (setq mySS (ssFilterText "*the*")) Do note that this will pick up text with words that contain the character string THE and not just the word. See the WCMATCH information in the VLIDE help to learn how you can use wild cards string comparisons. Keep on programmin' - Hot Tip Harry (Bill Kramer) |