T O P I C R E V I E W |
alfienoakes |
Posted - May 17 2012 : 09:26:22 AM Hi Guys
I'm wondering if anyone can help with this.
Someone has sent me a set of drawings (with borders) and they are in different places on the co-ordinate system.
What I would like to do is go in with Hurricane, select all of the entities and the move the lower left corner of the whole thing to 0,0 so I can do block insertion etc.
Most of that is easy. The hard part, for me at least, is getting the lower left co-ordinate. I seem to remember a Lisp command that would "get" this value but I can't find it.
Any ideas?
Thanks
Alfie |
1 L A T E S T R E P L I E S (Newest First) |
Admin |
Posted - May 17 2012 : 09:53:46 AM Yes, I have done this before... but the script was customized for the drawing set I had (didn't save it).
I didn't use a lisp to find the bottom left corner, I used a combination of OSMODE, OSNAP and simply manually specifying a drag window (zooming in and using coordinates) to have the pointer snap to the bottom left of the block, then simply move it all to 0,0. It was a bit of a hack but it worked fine for that set.
You can do some pretty cool "manual" stuff, try playing with the "TEST RUN" checkbox in Hurricane and add a DELAY after each command, to see if the script is doing what you like before committing the changes.
I'm sure there is a lisp around that will select something at it's insertion point somewhere, unfortunately, I don't have the time currently to go looking. If you find it, please post it back here!. |
|
|