Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Run GRIP on a Non-interactive NX session

Status
Not open for further replies.

NXJockey

Automotive
Feb 9, 2009
104
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
 
Replies continue below

Recommended for you

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

Cheers,

NJx
 
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

To an Engineer, the glass is twice as big as it needs to be.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor