cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

polylines with radius

Kaspars
Contributor

Hi, i'm quite new to GDL and

can somebody guide me on how to insert line segment with defined radius into POLY2 command.

All i can do is - insert node's x,y coordinates to draw stright lines, but I know there is a way to add curved ones too, i just don't know how 🙂

 

Thx a lot,

Kaspars

1 ACCEPTED SOLUTION
2 REPLIES 2

Solution
Barry Kelly
Moderator

Depends on what kind of arc you want to place.

It could be tangential from the last line segment, it could have an endpoint and a radius, it could have a centre point and a radius, and there are other versions as well.

 

Have a look in the GDL reference guide and look for the section on 'Status codes' and then go to the section for 'Additional status codes'.

 

Best is to drawer the shape (polyline) you want with one point on the project origin.

Then select polyline and go to FILE menu > Libraries and Objects > Save Selection as Library Part > Object.

Place the object, select it and open the script.

Have a look at the script to see what it has automatically written.

 

BarryKelly_0-1645631226847.png

This might help you to understand.

It will probably only use this 4000 status code - start point, center point and rotation angle.

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Yes,

thank You very much,

forgot about Special  tatus codes.

My bad, didn't read GDL reference guide closely enough. Sometimes getting lost there

 

Kaspars

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!