Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting point coordinates relative to WCS in NX Open

Status
Not open for further replies.

PrintScaffold

Mechanical
Sep 8, 2006
453
Hello everyone!

Obviously a very common problem, but I could not figure it out yet.
Using NX Open, I need to get coordinates of points relative to WCS.
In VB example I've seen a curious construct: NX.CoordinateSystem.MapAcsToWcs.
Does it exist for C#? I could not find it.
Or any other working method would be fine.

 
Replies continue below

Recommended for you

The Csys.MapPoint function will convert coordinates. It is an API function, so it is available to all the languages that the NX API supports.

VB example:
thread561-325985

www.nxjournaling.com
 
> In VB example I've seen a curious construct: NX.CoordinateSystem.MapAcsToWcs.
> Does it exist for C#?

This is a function in the SNAP library -- it's full name is Snap.NX.CoordinateSystem.MapAcsToWcs.
It's documented in the SNAP Refernce Guide, and example code is given.
Note that there are two versions -- one for mapping points, and one for mapping vectors.

SNAP is just a .NET library, so you call any SNAP function from C# code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor