Change name CATIA macro tutorial + free macro download

Change name CATIA macro

Changing names during the work in CATIA is a common act, here is free VB macro to help you organize those names.

change name catia macro1
change name catia macro

This free change name CATIA macro can help you a lot. It’s very simple but very useful. If you like to be very organized this is just the perfect solution for element names. To run this name  CATIA macro you need to enter a name for your elements and start the macro. After that, you need to select as many elements you want and macro will change names. For example, if you enter Test, it will go like Test1, Test2 and so on. 

Change name CATIA macro code

This CATIA macro is based on this code.
Add-on for VB code is making an error it converts “&” to “&”

I made adjustments for code so u can use this code also with CATScript. So you can download Visual Basic version of this CATIA macro or you can make your own with CATScript.

You can download it for free and use it.

If you have any issues feel free to contact me.

Check my YouTube channel for more cool videos CATIA Tutorials or section on this site for free macros.

6 thoughts on “Change name CATIA macro tutorial + free macro download

  • November 23, 2018 at 4:03 pm

    I really like your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you? Plz respond as I’m looking to create my own blog and would like to know where u got this from. many thanks

    • November 23, 2018 at 4:06 pm

      We tried to send you mail but your mail address is not correct.

      Hi Scottie
      thanks for good words, i did it by myself, it’s working on WordPress, ColorMag theme and these pictures are done in Photoshop. (with some customization on theme.)

      If you have any questions feel free to ask 🙂

      If you need my help, i am here too for small fee.

      All the best

  • February 27, 2022 at 2:14 pm

    Hello , thank you for the code , amazing work , but when i try to use it i get “FUNCTION OR INTERFACE MARKED AS RESTRICTED” error on the line “Status = Selection.SelectElement3(ElementsArray, “Select Elements for name change”, False, CATMultiSelectionMode.CATMultiSelTriggWhenUserValidatesSelection, False)”
    Can you help me with that ?

    • March 15, 2022 at 4:31 pm

      Hello, can you maybe send the video of the problem and the macro code, so i can test it, on my mail.

  • May 7, 2022 at 3:35 pm

    Hi, thanks for the macro. It would save me a ton of time!
    I need the marco to add a three digit number with leading zeroes and without the dash.
    For example Line001, Line002 exc.
    It was easy to remove the “__” from the code, but i can’t manage to change the text format to three leading digits
    Can you help me out?


    • May 17, 2022 at 10:10 am

      Hello Joseph, sry for late answer.
      The esiest way i can think of is like this.
      You have the loop cpunter (i or any other).
      You can put like this if i<10 then name is = "00" & i
      if i < 100 then name id "0" & i I hope this can help you.


Leave a Reply

Your email address will not be published. Required fields are marked *