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!

*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

Easier Renaming?

Easier Renaming?

Easier Renaming?

I've been working on a project that involves renaming a good sized Catia job (690 files) to a specified naming convention. My problem is, the assembly/part names currently follow no rhyme or reason (plate1, gusset1, etc.) What I've been doing involves using Save Management and renaming each file to the designated naming convention, then running a macro that names the part/assembly in catia to the filename. Does anyone see an easier way of going about this?

RE: Easier Renaming?

What I've done in the past is to update Part Numbers in the assembly first, and then run a macro to save all the documents in session according to their part numbers. That method seems more efficient to me. To take it a step further, it's possible to create a macro in (or talking to) Excel to do something like the following:
-Read out the existing part numbers into a spreadsheet, say into Column A.
-Review and update the part numbering, say into Column B. This allows quick visibility of the whole data set.
-Push the updated part numbers from Excel back into Catia.
-Save all the files according to their new part number.

What approach to use depends a lot on just what the numbering convention is. On my current project, we have a requirement that the tree structure is reflected in the Part Number, so a flat (Excel) list would be less useful. Here it's more expedient to update all the Part Numbers in Catia alone. But, we're also using a PLM system that helps out with managing both Part Numbers and File Names.

RE: Easier Renaming?

Thank you for your response MarkAF. The excel macro (Old name in Column A, New name in Column B) seems like it would work in my case. Do you, or anyone else, know of a macro out there that does this? Or would I be on my own to write it?

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! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close