×
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

GRIP PROGRAM EDITING

GRIP PROGRAM EDITING

GRIP PROGRAM EDITING

(OP)
Morning all,

I have done some searching and found a GRIP Program, that will take the part name of an NX file, and assign it to the attribute DB_PART_NAME. I'm completely hopeless at this sort of thing, so please go easy on me! How would i edit the GRIP Program so it assign the NX File name to the atribute DD_PART_NO, and DB_REV_NAME. I appreciate they may have to be different programs. I'm using NX 7.5, I can execute GRIP programs, but my only knowledge of editing certain programs/scripts is via text editer or similiar.

Your help would be greatly appreciated. Attached is the original file from John Baker (Thanks John for this it's amazing!) The files we have already have these attributes in them as default.

Cheers

RE: GRIP PROGRAM EDITING

You can set multiple attributes from a single GRIP program.
If the one you have sets the current part name to DB_PART_NAME and you need it set to DD_PART_NO, then just edit the <program_name>.grs file in a text editor, notepad or wordpad, and change DB_PART_NAME to DD_PART_NO. For DB_REV_NAME, what system variable are you reading to get that value?
AFter you have modified the program, you need to run GRADE and compile and link the GRIP program into an executable <program_name>.grx file.

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: GRIP PROGRAM EDITING

(OP)
Awesome thanks so much for the help! I've found the file which throws up the CMD box, but i get a license error. So we are 40% there I'd say! Again thanks for the help it's most appreciated. Is using the NX tool the only way you can get the .grx files?

Cheers

RE: GRIP PROGRAM EDITING

(OP)
Forgot to say @looslib, the REV name thing is part of the customer requirement. It fills out certain parts of the title block and or BOM.

RE: GRIP PROGRAM EDITING

Yes, the .grx files are the GRIP executables and you do need a license to execute GRIP programs. And yes, UG/NX is the only application that can execute GRIP programs.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX 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