Jump to content

Recommended Posts

Posted

Hi everyone,

 

does anyone know a good script that allows you to align multiple objects to a line? I've found the ALIGNIT.lsp, but it's not working in Autocad 2012.

 

It's like this:

 

I have a horizontal line. Above it, there are +200 objects. They are aligned in the right rotation already, but I just want to move all the objects lower line to my horizontal line.

 

Hope this makes sense!

 

thanks!

Posted

Can you post the drawing or a screenshot, I'm having trouble envisioning what you've described.

Posted

I posted it, but it still needs to be moderated. Thanks!

Posted

You need a lisp that selects objects and based on the object moves them a y dist to attach to the line not hard if the objects are a block and the insert point is say lower left then its easy just move blocks. if object say a line or pline then it may get vary complex.

 

get insert pt of block know y value of line diff in height then move y dist repeat for all blocks.

 

Is this what you have ?

  • 5 months later...
Posted

I just starting with AutoCAD, but I know TurboCAD fairly well- and there you can do this with a 'distribute objects' tool. It allows you to align multiple objects in random locations in 2D or 3D space along lines in 2D or 3D space. I'd be amazed if AutoCAD doesn't have a similar command / tool. Anyone know what that would be? I'd like to know also.

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