×
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

batch component reference update

batch component reference update

batch component reference update

(OP)
My company's current file naming convention is:
master model:   mm123-123456.rev-0.prt
drawing:          123-123456.rev-.prt
The dash after the rev is our major revision for the drawing and model.  The 0 after the master model major rev is to allow incremental revisions to the model that do not affect the drawing.

Our company is moving toward a PLM system (not Teamcenter) that requires us to remove the ".revXX" information from the end of the filenames before our NX data is imported into the system.
Obviously, this means that the component reference in the drawing file that points to its master model will need to be updated.
I know I can do this manually via cloning or save as, but there are thousands of drawings, models and assemblies that are to be imported into the PLM system.
I can use OS functions to physically rename the model files, and then use ugpc/ug_edit_part_names to update the assembly references, but again, this is manual and will be time and resource prohibitive.
Has anyone developed or heard of a method or scripting to automate this type of renaming/re-referencing activity?

Thanks!
PM

NX6.0.4.3 native

RE: batch component reference update

(OP)
Thanks Jerry, but it appears that the link for the download is dead.  I googled it to no avail...

RE: batch component reference update

What does your current directory structure look like right now, and are you keeping this structure or changing it?

RE: batch component reference update

(OP)
Our models and drawings are stored in a single program folder. Our standard parts are in a separate folder.
Our destination folders will be handled by the PLM system.

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