Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

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

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
Solution
Solution
Accepted by topic author PraveenKK
‎11-17-2016 08:07 AM

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

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

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