×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Extract Attributes from PRT Files

Extract Attributes from PRT Files

Extract Attributes from PRT Files

(OP)
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!

RE: Extract Attributes from PRT Files

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

RE: Extract Attributes from PRT Files

Does this apply to NX6?

RE: Extract Attributes from PRT Files

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. - Hunter S. Thompson
 

RE: Extract Attributes from PRT Files

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. - Hunter S. Thompson
 

RE: Extract Attributes from PRT Files

(OP)
Worked for me with NX3 and NX5 installed.

RE: Extract Attributes from PRT Files

(OP)
That defintly saves some time, but I'l like to export all the info to a speardsheet.  

RE: Extract Attributes from PRT Files

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

RE: Extract Attributes from PRT Files

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
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources