cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

I need help with a very simple gdl script!

Not applicable
Hi,

I can't figure out how to script a simple stupid polyline... It's the arcs that bugs me. I know it should be simple but please help me with this one. I gather it will fall together when I see the script. I have actually read the GDL manual but I wish they could explain things so a stupid mind like mine can understand...

I attached an image of the polyline object I want to create and also my stupid code...

Cheers and thanx on beforehand,
Mats

undefined
2 REPLIES 2
Not applicable
With Poly2 you can use only x and y parameters.
To use a mask value like you do at line 3 you need to use Poly2_ (x, y, mask)
Try this, it should work.
Poly2_ 4, 1
0, 0, 1,
a, b, 1
r, -90, 2001,
e, f, 1
Not applicable
Merci beaucoup Olivier,

Ƈa marche trĆØs bien.

Mats
Olivier wrote:
With Poly2 you can use only x and y parameters.
To use a mask value like you do at line 3 you need to use Poly2_ (x, y, mask)
Try this, it should work.
Poly2_ 4, 1
0, 0, 1,
a, b, 1
r, -90, 2001,
e, f, 1