Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Export DWG in NX5

Status
Not open for further replies.

nmiltner

Bioengineer
Jan 30, 2008
98
I am writing a macro to export a CGM, Import a CGM, Layer filter, Save, and then export a DWG to a user's c:\ directory. All is working fine axcept for one thing, I would like to be able to name the DWG file the same as the part name. Right now I have a dummy string called c:\test.dwg as the export file. Is there a way to code the part name into the line of th macro that says

ASK_ITEM 3407872 (1 STRN 0) = "C:test.dwg" !

Thanks
 
Replies continue below

Recommended for you

Does anyone have any thoughts on this?
 
Have you tried inserting a "User Entry on File Selection Dialog Boxes" as you create the macro. It seems to allow that you can edit out the suggested file name that you don't want, but I'm afraid that it doesn't seem to suggest the kind of file name that you probably do want in the same way that just running the export dialog ordinarily does. At least you'll get the opportunity to plug in the name that you require.

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor