×
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

Run GRIP on a Non-interactive NX session

Run GRIP on a Non-interactive NX session

Run GRIP on a Non-interactive NX session

(OP)
I have a part on TcEng, and wish to run a simple grip program on it, without launching a interactive NX session.

The NX documentation implies this is is possible, but i just cant seem to get the correct combination of switches.

I have tried UGII.bat which launches a session of NX, and also tried gripbatch, but without the desired results.

Am i missing a trick, or is it not possible.

Cheers in advance.

NXj

RE: Run GRIP on a Non-interactive NX session

What is it that you're attempting to do with this GRIP program?

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
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.
 

RE: Run GRIP on a Non-interactive NX session

(OP)
Its a really simple grip program of changing the work layer & changing the view orientation,  then saving & closing the part.

Cheers,

NJx

RE: Run GRIP on a Non-interactive NX session

Right off the bat I can see a couple of potential problems.  First it might prove difficult to manipulate views in GRIP Batch depending on what it is that you're doing.

Second, when opening a part file managed by TeamCenter you can't just use the normal file open routines since they are not compatible with the way you generally indicate TeamCenter files, such as name, revision level, even the type of file that you're opening.  What you will need to do first if get the properly 'encoded' file name which the system will understand when the GRIP Batch program issues the file open command.

Now if you are not going to rename the part file, but rather just open it, make your changes and save it, you only need to use this encode command once to get the file 'name'.  You best bet is to go into the GRIP documentation and search on the name 'UGMGRE'.  This will give you all the information that you will need to get a proper text string containing the 'encoded' file name that you can use to with the normal GRIP file open command.  Than after making your changes use the simple save command and the file will be saved and TeamCenter will understand what you've done and everyone should be happy.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
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.
 

RE: Run GRIP on a Non-interactive NX session

(OP)
Yeah,  Cracked it,  it was a case as John suggested that the GRIP program needed to process the part to be loaded.  I did it by getting the GRIP program to read a text file which which contained the part ID & revision ID, as well as the view orientation etc.

Cheers,

NXj
 

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