Jump to content

Recommended Posts

Posted

Can anyone help me with an lisp for inserting block link in the picture attached?

Now i use an lisp called DivideMeasurePlus.lsp for each side to determinate the insertion points. But i need something more rapid. Only to insert the block name, number of rows , number of columns, max dist. of row and max distance of column.

example.jpg

Posted

I attached the script that i use and the step that i make now create what i want:

1: I draw the red line for the 2 wall

2 I use div+ commeand cu devide like in the drawing attached with the line parrameter.

3 At the intersection of the magenta lines i paste the block.

 

 

If i have a room with lets say 1 colomn and 2 rows of lights is very simpla i only use the div+ command and it put the block instead of line i used before.

DivideMeasurePlus.lsp

example2.jpg

Posted

The lisp you attached seems way over what your trying to do, The task appears to be simple rule based LxW determines how many I guess lights? are inserted did you search first ? Try words like array lights columns pretty sure have seen something like this before also search www.theswamp. & the www.autodesk.com

 

As an example take L divide by preset "a" gives a number use this to work out new "a" repeat for b do double loop insert lights all done!

Posted

ionutste,

 

I have created a very similar program of this nature in the past, you are welcome to contact me if you are interested.

 

Lee

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