Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Convert model co-ordiantes to drawing sheet co-ordinates using NXOpen ?

Status
Not open for further replies.

biw01

Automotive
Dec 31, 2011
152
Hello Everyone,

How can i convert model co-ordinate values to drawing sheet co-ordinate values using NXOpen ?
A Sample prog will be of good help.

Thanks,
Amitabh
 
Replies continue below

Recommended for you

So do you have coordinates of points that you want in a table?
 
I use a wrapper function as follows:

ufs.View.MapModelToDrawing(dwgview.Tag, originpnt, pnt1)

The user fuction entry should explain all

int UF_VIEW_map_model_to_drawing
(

tag_t member_view,
double model_pt [ 3 ] ,
double map_pt [ 2 ]

)

tag_t member_view Input A Member View on drawing
double model_pt [ 3 ] Input Point in absolute space
double map_pt [ 2 ] Output 2-D point on the drawing

Regards

Frank Swinkels
 
Thanks Frank.
I finally figured it out on my own by doing some research at my end and i have used a similar wrapper and it is working as expected.

Thank You.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor