×
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

Program to add attributes to NX files (NX 6 batch process)

Program to add attributes to NX files (NX 6 batch process)

Program to add attributes to NX files (NX 6 batch process)

(OP)
Has anybody created a program (macro, journal, GRIP, etc.) that you can run on a batch of NX files which will add attributes and attribute values to the files and then save the file.  We have a few hundred files that we may need add attributes to for an easier migration.

RE: Program to add attributes to NX files (NX 6 batch process)

Creating a program like that would not be that difficult (even GRIP, which is all but obsolete, could handle this without working up a sweat), however if anyone has even done that, it's likely that it would be unique to the authors situation.

While I know that this doesn't help you at the moment, I would advice that you not dwell too much on this or consider making a big investment since in NX 8.0 we've enhanced Attributes such that you can define an Attribute template both for your template part files as well as catalogs which can be shared with everyone in your organization.  The good news is that these don't have to be 'executed' but simply accessed when you need to 'set' an attribute (a new term due to the fact that you can now have pre-defined, yet 'unset' attributes, in either a template part or a common catalog which are only added to a file when an attribute is 'set').  

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

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

RE: Program to add attributes to NX files (NX 6 batch process)

And if you have a GRIP execute license, I'd be willing to look into creating a simple program for you which would read say a text file containing a list of name/value pairs of attributes which you wish to add to say all the part files in a folder.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

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

RE: Program to add attributes to NX files (NX 6 batch process)

(OP)
Yes we have GRIP execute and would be interested in your solution.  It will be awhile (years) before we are on NX 8 or later.

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