×
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

Journal file to write part attribute

Journal file to write part attribute

Journal file to write part attribute

(OP)
Does anyone know if there is a journal file, etc available that can automatically add a part attribute DB_PART_NO to a part file (native NX), and populate the value with the files part name?

The reason I ask is that because for deformable parts/part families (using a raw material part number) to be called up properly in a BOM, I need the BOM to read the DB_PART_NO field of the part.

We have been replicating a model from Mechanical Desktop into NX over the past 3-4 months, without the need to do any drawings (as we already had a full set of working drawings). Now it is time to do some drawings/BOMs and have dicovered that we need to add DB_PART_NO to all parts for our BOMs to work correctly.

I realise that when you import files into TeamCentre it automatically adds this, but this is not really an option at the moment.

Any help would be most appreciated.

Ross

NX5.0.4.1 WinXP SP2
SolidWorks 2007  

RE: Journal file to write part attribute

(OP)
I think so John. I don't have a GRIP compile license, but think i do have th eexecutable license

Ross

NX5.0.4.1 WinXP SP2
SolidWorks 2007  

RE: Journal file to write part attribute

When would you need this by?  Is tomorrow evening too late?
 

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.
 

RE: Journal file to write part attribute

(OP)
No, not at all. That would be great thanks John.

Ross

NX5.0.4.1 WinXP SP2
SolidWorks 2007  

RE: Journal file to write part attribute

(OP)
Hi Mark, yes that worked well, many thanks. Is there any way that can be done in a batch?

Ross

NX5.0.4.1 WinXP SP2
SolidWorks 2007  

RE: Journal file to write part attribute

Attached, as promised, is a GRIP program which will update all of the files in a specified folder per your request.

This program must be executed from a running session of NX, but you don't have to have any files open, just launch an NX session, go to File -> Execute -> Grip...

When you run the program, you will be prompted for the full path name of the folder where the NX Part files are located that you wish to update.  Include the folder's name but NOT the last "\".  The program will run until all NX Part files have been updated.

Note that I'm trying to convert this to a batch program, but so far I can't seem to get it to work properly (it's been so long since I wrote anything that ran in batch mode).  If I figure it out, I'll pass along that program as well.

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.
 

RE: Journal file to write part attribute

(OP)
John, that worked well thank you very much. It will certainly save us many hours.

Ross

NX5.0.4.1 WinXP SP2
SolidWorks 2007  

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