cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

I need help with a very simple gdl script!

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

I stink at gdl.jpg
2 Replies 2
Anonymous
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
Anonymous
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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!