Page 1 of 1

drawing rectangles

Posted: Tue Jan 22, 2008 12:10 pm
by wwymak
Hi,
Is there a way to draw rectangles by scripting? I will need to put around 300(!) rectangles of the same size on a drawing for an electronic component, and it would be easier if I can do it by a rectangle instead of lines.

the examples that come with the demo version doesn't seem to have anything to draw rectangles...

Posted: Tue Jan 22, 2008 3:30 pm
by andrew
You might want to create your own rectangle function which takes two vectors as parameters and creates a rectangle from four lines. You can do that with a simple script function.