search for text string and highlight

search for text string and highlight

Anonymous
Not applicable
284 Views
3 Replies
Message 1 of 4

search for text string and highlight

Anonymous
Not applicable
I'm looking for a tool that I can use inside AutoCAD 2000 to search for
specific text on a drawing and highlight it. Highlight could be copying the
whole string to some layer or draw a box around it somehow. I'm not much of
a Autocad VBA developer or perhaps I could write what I need. Does anyone
know of anything that will do this? Does anyone have ideas on how to
implement this?

thanks
LJB
0 Likes
285 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
When you say 'highlight', do you want to actually change the display of the
found object(s), or just temporarily make them visibly different, similar to
Acad's built-in method of highlighting during selection?

"ljb" <.> wrote in message news:4930998@discussion.autodesk.com...
I'm looking for a tool that I can use inside AutoCAD 2000 to search for
specific text on a drawing and highlight it. Highlight could be copying the
whole string to some layer or draw a box around it somehow. I'm not much of
a Autocad VBA developer or perhaps I could write what I need. Does anyone
know of anything that will do this? Does anyone have ideas on how to
implement this?

thanks
LJB
0 Likes
Message 3 of 4

Anonymous
Not applicable
I think changing the object would be best in my case. Making a duplicate at
the same location on another layer would be nearly as good. I have about 800
drawings on which I need to change a fastener callout. On many drawings the
fastener will be used numerous times around the drawing. Each location will
likely require examination because the replacement will not be word for
word. The selection set method would likely be unhighlighted when the edits
began and other locations highlighting would disappear.

thanks
LJB

"TomD" wrote in message
news:4931140@discussion.autodesk.com...
When you say 'highlight', do you want to actually change the display of the
found object(s), or just temporarily make them visibly different, similar to
Acad's built-in method of highlighting during selection?

"ljb" <.> wrote in message news:4930998@discussion.autodesk.com...
I'm looking for a tool that I can use inside AutoCAD 2000 to search for
specific text on a drawing and highlight it. Highlight could be copying the
whole string to some layer or draw a box around it somehow. I'm not much of
a Autocad VBA developer or perhaps I could write what I need. Does anyone
know of anything that will do this? Does anyone have ideas on how to
implement this?

thanks
LJB
0 Likes
Message 4 of 4

Anonymous
Not applicable
I don't have time to offer all of the details, but I would likely start off
trying to do the search with a selection set filter. The actual filter
values I would use depend on what, exactly, I have and how consistent it is.
If the desired objects are ALL TEXT objects, it would be fairly simple to
set up the filters. MTEXT and inconsistent circumstances will complicate
the search code.

It shouldn't be much more effort to code for opening each of the drawings,
assuming there is some logic to location, names, etc. Again, the code
required depends on your exact circumstances.

I'd be willing to offer you some more hints, but my time is limited in the
next couple of days. If you want to try it on your own, consider what I've
said along with other responses you may get in this thread, and also search
the group for other things, such as "selection filter", etc.

"ljb" <.> wrote in message news:4931227@discussion.autodesk.com...
I think changing the object would be best in my case. Making a duplicate at
the same location on another layer would be nearly as good. I have about 800
drawings on which I need to change a fastener callout. On many drawings the
fastener will be used numerous times around the drawing. Each location will
likely require examination because the replacement will not be word for
word. The selection set method would likely be unhighlighted when the edits
began and other locations highlighting would disappear.

thanks
LJB

"TomD" wrote in message
news:4931140@discussion.autodesk.com...
When you say 'highlight', do you want to actually change the display of the
found object(s), or just temporarily make them visibly different, similar to
Acad's built-in method of highlighting during selection?

"ljb" <.> wrote in message news:4930998@discussion.autodesk.com...
I'm looking for a tool that I can use inside AutoCAD 2000 to search for
specific text on a drawing and highlight it. Highlight could be copying the
whole string to some layer or draw a box around it somehow. I'm not much of
a Autocad VBA developer or perhaps I could write what I need. Does anyone
know of anything that will do this? Does anyone have ideas on how to
implement this?

thanks
LJB
0 Likes