ionutste Posted February 8, 2012 Posted February 8, 2012 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. Quote
ionutste Posted February 9, 2012 Author Posted February 9, 2012 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 Quote
BIGAL Posted February 9, 2012 Posted February 9, 2012 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! Quote
Lee Mac Posted February 9, 2012 Posted February 9, 2012 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 Quote
Recommended Posts
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.