Message 1 of 3
Draw a rectangle around objects with known HANDLE ID

Not applicable
04-12-2017
03:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I need a lisp and I have no idea how to achieve that.
I have a long list containing object IDs & their correspondant drawing number (1200+ items). I would like to draw a red rectangle around the object ID with that particualr ID (true color red). Below is an example my list:
. . . HCX-021363.dwg 1C13 HCX-021363.dwg 1C12 HCX-021368.dwg 1C0F HCX-021367.dwg 1C0E . . .
The task is to check the current drawing name. If it is HCX-021363.dwg for instance, then draw a red rectangle around object with the ID of 1C13.
I don't care about layer whatsoever. I just want a red rectangle to be drawn around that particular handle.
Objects are mix of Dtext, Mtext and block attributes.
No need to check the existance of the handle. They do exist in their correspondant drawings.
Thanks heaps for your assistance.