TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: andrew_nao on January 28, 2015, 03:48:44 PM

Title: how can i search thru a selection set for a specific word
Post by: andrew_nao on January 28, 2015, 03:48:44 PM
hi all.
I lost all my bookmarks so im in search of all the functions and posts all over, that i once had :(

i know this post exists in here cause i had it book marked so if someone can point me in the right direction
i need a refresher on how to search thru a selection set for a specific line of text.

as always any help is appreciated
Title: Re: how can i search thru a selection set for a specific word
Post by: Lee Mac on January 28, 2015, 05:38:17 PM
i need a refresher on how to search thru a selection set for a specific line of text.

An easier way might be to filter the initial selection, e.g.:

Code - Auto/Visual Lisp: [Select]
  1. (ssget "_X" '((0 . "TEXT") (1 . "*specific line of text*")))
Title: Re: how can i search thru a selection set for a specific word
Post by: andrew_nao on January 29, 2015, 09:55:32 AM
thanks lee however if there is more than 1 on the screen i need to be able to select the right one.
ive searched this forum for 4 hours and i cannot find that post now.. :( do posts get dropped off after a certain amount of time?
Title: Re: how can i search thru a selection set for a specific word
Post by: Gasty on January 30, 2015, 10:33:04 PM
Hi,

How do you discriminate the "right one" from the others? The "solution" from Lee find any text, anywhere in the drawing with a match of the string in the filter, so if you need to narrow the search please tell us how.

Gaston Nunez
Title: Re: how can i search thru a selection set for a specific word
Post by: ymg on January 31, 2015, 04:12:46 AM
andrew_nao,

You could search with google and restrict the search to theSwamp only.

Example:

Code: [Select]
andrew_nao site:theswamp.org
Title: Re: how can i search thru a selection set for a specific word
Post by: Kerry on January 31, 2015, 05:13:55 AM
andrew_nao,

You could search with google and restrict the search to theSwamp only.

Example:

Code: [Select]
andrew_nao site:theswamp.org

yep,
Quote
About 526 results (0.66 seconds)
Title: Re: how can i search thru a selection set for a specific word
Post by: ronjonp on January 31, 2015, 01:33:23 PM
Maybe create a Google account and use Chrome. Sign into your browser and your shortcuts will not get lost in the future ( unless you delete them ).