Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Extract Attributes from PRT Files

Status
Not open for further replies.

drewboy23

Mechanical
Joined
Jan 30, 2004
Messages
55
Location
US
Maybe there is already a tool to do this, but I'd like to run a script of some sort that will give me a text file that lists the desired attributes of a directory of PRT files.

Basically we are given a directory of a few hundred parts, that have no description in the filename. I'd rather not open each on to see what they are.

Any ideas? THANKS!
 
Select start > run and type regsvr32 "%ugii_base_dir%"\ugii\ugpropext.dll

Open a new explorer window, select a file and then properties and the attribute tab should now be available.

If you have access to the GTAC forums, in the NX.Cad section there's "extract attributes from properties", June 30th, 2005
that has all this information.

This basically puts an Attributes tab in the properties of each file through Windows Explorer.

Justin Ackley
Designer
 
Didn't work for me (NX6).

The Edge... there is no honest way to explain it because the only people who really know where it is are the ones who have gone over. - [small]Hunter S. Thompson[/small]
 
If you do a search on GTAC, use "porperties", not "properties".

The Edge... there is no honest way to explain it because the only people who really know where it is are the ones who have gone over. - [small]Hunter S. Thompson[/small]
 
Worked for me with NX3 and NX5 installed.
 
That defintly saves some time, but I'l like to export all the info to a speardsheet.
 
I'm still on NX3, until GM finally decides to move to NX5 - if they do. I do not know of anything else to help you.

Sorry.

Justin Ackley
Designer
 
Attached is a simple UFUNC program to do this. You simply go to the directory and select any one part file. The output is to the listing window. The source code is included if you wish to improve the program.

For the record this program was NOT developed by me but by a friend from 'OZ'.


John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top