Jump to content

Align Object lisp, pls help


Anh Quan

Recommended Posts

Similar to Leemac's lisp align text, however I need to align objects as a Block (base point), Rectangle, or Circle (center), I need them to align horizontally or vertically if no spacing is entered. And if If the distance is entered, they will be equally spaced by that distance.

Pls help.

 

image.png.f0b7d4acd8f47c2c45eba00ccb5d79b3.png

http://www.lee-mac.com/aligntext.html

Link to comment
Share on other sites

I'll ask what your skills are with LISP, I am not sure but I guess Lee Mac has limited what he did to text only, what would happen if you opened the file and changed the "TEXT" selection to say "CIRCLE", working through it you might need to change a couple of other parts too.

 

I suspect this might be best done in a few stages, get the easy ones working first - the block and the circle and then the rectangle where you'll need to also calculate its centre.

 

How much help you need of course all depends on your skill with LISPs - so what do you need us to do? can be from not very much to everything

  • Like 1
Link to comment
Share on other sites

3 hours ago, Steven P said:

I'll ask what your skills are with LISP, I am not sure but I guess Lee Mac has limited what he did to text only, what would happen if you opened the file and changed the "TEXT" selection to say "CIRCLE", working through it you might need to change a couple of other parts too.

 

I suspect this might be best done in a few stages, get the easy ones working first - the block and the circle and then the rectangle where you'll need to also calculate its centre.

 

How much help you need of course all depends on your skill with LISPs - so what do you need us to do? can be from not very much to everything

 

could be anything, I don't have Lisp skills :( 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...