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

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