cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Start and End points of all the drafting curves which are present in a view Using NX Open

Creator
Creator

Hello All.

 

How to get Start and End Points (x,y) of all the drafting curves which are present in a a drafting view using NX Open Programming.

 

I could able to get what kind of Curve type is, but not start and end points.

 

Kind Regards

Praveen.

2 REPLIES

Re: How to get Start and End points of all the drafting curves which are present in a view Using NX

Valued Contributor
Valued Contributor

Hi,

 

Check out the NXOpen Evaluation section.

 Based on your curve type, you can call the regarding functions

 

UF_EVAL_ask_arc

UF_EVAL_ask_line

...

 

to retrieve the curve start and end points.

Re: How to get Start and End points of all the drafting curves which are present in a view Using NX

Valued Contributor
Valued Contributor

You can use UFSession for this.

 

Just look into "ufs.Modl.AskCurveProps" in reference guide.

Using it you will be able to get startpoint as well as endpoint.

 

Hope it helps.

 

Regards,

Abhi