Am trying to create a little command that will measure a length of line, say the side of a house, then insert blocks along it. As well as that, i would like it to choose wich blocks to fit best, as have some of varying lengths, to satifactorial be close to the length of the original line. For example, the line is 2400 long. i have blocks that are 500 and 200 long. I want it to arrange them so it uses four at 500 and two at 200. How difficult is it to write such a routine? Have written basic routines, but this ones still eludes me Cheers Bjorn
It's probably a bit ambitious for a real beginner, but not that hard. You will probably have a section where you calculate the number and combination of blocks, and a loop where you generate the insertion points and insert the blocks. You should probably work means to catch errors along the way. Not hard really.
Hello Bjorn, i'm gladly willing to help you for creating your block insert command. But if you are not even willing to answer to my post i've writen in alt.cad.autocad (where you'ver posted the same question some days ago) it would be hard to move on the path to enlightment bob.at you find my answer at: http://groups.google.com/groups?dq=...UTF-8&oe=UTF-8&group=alt.cad.autocad&start=25
sorry bob for not replying promptly, didn't mean to be rude or offend you as you seem to be. Cheers bjorn