The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 Tips and Tricks
 Move an entire drawing to 0,0

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

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!.

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.23 seconds. Snitz Forums 2000