Jump to content

Lisp to distribute blocks with uniform measures (help)


edwin154

Recommended Posts

someone can help me with a lisp that can evenly distribute blocks. attached an image where the value of "x" must be equal. the idea is that you can change at any time the value of "x" so they can see more or less adjusted according to whatever you want.

Deputy dwg.

 

 

PDTA: research found a lisp teacher Lee Mac, but when you run the lisp then have to update the attributes of each block to return to his position; also they are not exactly the same distance.

associate the lisp "eqsp" - "Lee Mac".blocks_distribution.dwg

 

imagen.jpg

eqsp.lsp

Link to comment
Share on other sites

thanks for the reply, but not what I want to do. I have different blocks that have the same presentation format, but when they do a lot and do not enter the plane need to adjust the value of "x" at a shorter distance, and I need a lisp that puedar I select all these blocks, place a distance separation and all are ordered at the same time.

Link to comment
Share on other sites

If the blocks all have the same insertion point location say lower left then easy as you can just use this point to move them all to a new location. Use the ssget with F option and drag a line over the blocks. Enter spacing done.

 

Best to post a dwg, BUT if blocks have all different insert points makes it a lot harder. I am pushed for time at moment else I would do.

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