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!

How can I export a UGNX part file to a jt file?

Status
Not open for further replies.

xuewumeizhi

Mechanical
Apr 20, 2009
1
I mean, by using ug/open api.

I dont know how to use the function UF_PART_export_with_options
or UF_PART_export

Thanks
 
Replies continue below

Recommended for you

If you know how to do it using the menus then you'll be able to do it using a macro or journal. You can pause for a user input when it offers you a part naming option. Maybe you'll want to add that button under an icon later.

What you can also do is to go into File>Options>Save Options and tick on save JT data. That will save the files or assemblies in the same directories as the part files in native using the same name with a JT extension. If you're using teamcentre it appends them to item masters.

If you don't want to set that as a global default but you're happy with that naming strategy, then why not create a macro or journal that goes in ticks the Save Option to ON then saves the file, and goes back to switch it off when done. Then you won't need to type anything or pause for user input, and it could be one of the more convenient ways to get the desired result.

Best Regards

Hudson

www.jamb.com.au

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

Part and Inventory Search

Sponsor