Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Is It Possible To Access Part Save Log Without Opening The Part 1

Status
Not open for further replies.

Marlborough

Automotive
Jun 21, 2008
35
0
0
CA
Hi All:

probably wishful thinking, but is there a way to access a part's "save history", without actually opening the part fully. Basically I need to see dates and time for when the part was saved. Some of this parts are huge taking 20 min to open up. Just wondering if there's a faster way to do this.

Thanks

 
Replies continue below

Recommended for you

No, I don't think so.
If you are opening assemblies then maybe switch your load option to structure only so the component parts won't load.
 
You can get the filing info with the ug_inspect command line utility. You can find ug_inspect in the UGII folder, more info about the utility can be found in the help file (location depends on NX version, search for ug_inspect or command line utilities).

www.nxjournaling.com
 
Hi Marlborough,

As cowski says, ug_inspect will return the information you're looking for.

If you're working in Teamcenter though, you'll need to find the .prt file in Teamcenter's Volumes.
Open a NX Command Shell
Type, ug_inspect -help for a full list of valid arguments. You can choose to use NO ARGUMENTS in this case though to give a verbose listing.

ug_inspect <filename.prt>

Good Luck

NXHerbie
NX7.5.3.3
 
Marlborough,

As of NX4.0.4 there is NXOpen API support for querying the NX history records in an NX part file.

UF_PART_ask_part_history
UF_PART_ask_num_histories
UF_PART_ask_nth_history

The routines require only a gateway license and are supported in both the internal (interactive - dll) and external (command line - exe) usage for both unmanaged (native) mode and managed (Teamcenter) mode.

There is sample code available at that will use a list of part files (native or database managed) as input and report the NX part history information for each part.

This would avoid having to find the parts in the TC volumes (which is very likely impossible except for system admins on the database volume server(s)) for use with ug_inspect.exe. (or having to parse the ug_inspect.exe output to get only the history information)

HTH,

Joe
 
Status
Not open for further replies.
Back
Top