×
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

change file name to match part/product name

change file name to match part/product name

change file name to match part/product name

(OP)
very new to forum. I have searched though 60 pages of topics and found some topics close to what i am looking for. I am looking for a easier way to have an already saved part/product's name change when I change there name in Catia. I don't need it to cycle through every product/part but just apply the name change on the selected item.

RE: change file name to match part/product name

Hi, do you need macro to do it or?
For manual you need to use Save as and for product you must to go in save manager. If you want to go with a macro its very simple code, just take name from active part and do save as with a macro.
That is for part, for product it's little bit harder so, i recommend to do it manually.

You can check this post its very similar to your problem, also u can get idea for user interface and so on.
https://catiavbmacro.com/2018/08/09/new-part-catia...

All the best.

RE: change file name to match part/product name

(OP)
I am currently using the SaveAs menthod or SaveAs from save management they both do the same thing. copy part name from tree -> save as-> paste name. Open save folder find old file name and delete to keep project folder clean. Not a huge deal when there are only a few parts/products but quickly becomes very tedious when there are a couple dozen or more. A single action macro to replicate the entire process would be nice.

RE: change file name to match part/product name

Hi, yeah i understand, its boring process, you can check that macro i send you, you just need to make some simple corrections, but there is idea. To have clean folder you can just use Send to, from time to time, its not big deal. But you can delete that part from folder with a macro too, its not a problem.

All the best.

RE: change file name to match part/product name

are these parts and assemblies used in other assemblies? are there drawings based on these files?

RE: change file name to match part/product name

(OP)
the drawing are based on the files, if the parts and assemblies are used from another assembly or in another assembly any link are already broken and the part is saved under its new assembly. We have a drawing layout stand that we try to adhere to and during the design process it is difficult to impossible to tell what balloon number will end up on what part/assembly when we do our drawings. So after the drawing is complete we go back and change a portion of the part number to match its drawing balloon number. This gives us a easy reference between drawing item/balloon # and assembly/parts name.

RE: change file name to match part/product name

I was worried about losing links when you rename files, but it sounds like that's not a problem for you.

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

eBook - Mastering Tolerances for Machined Parts
When making CNC machined parts, mastering tolerances can be challenging. Are general tolerances good enough? When does it make sense to call out for tighter tolerances? Do you need a better understanding of fits, datums, or GD&T? Learn about these topics and more in Xometry's new e-book. Download Now
eBook – How to Choose the Correct Corrosion Testing Method
When designing a metal component, engineers have to consider how susceptible certain alloys are to corrosion in the final product’s operating environment. In a recent study by NACE (National Association of Corrosion Engineers), it was estimated that the direct and indirect costs of corrosion in the United States is approximately 6.2% of the GDP. In 2016, that cost exceeded $1 trillion dollars for the first time. Download Now

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