Change parameter CATIA macro

Change parameter CATIA macro

“Few ideas work on the first try. Iteration is key to innovation.” 

Sebastian Thrun

CATIA macro productivity,new part catia macro


First of all, in this post we want to write about the connection between CATIA macro and parameters in the tree. So there are a lot of options in this direction. One of the possibilities is to have full control of your model with macro. Here we want to demonstrate some basic, but you will get the idea. 

Certainly fill stock-list parameters with CATIA macro is our focus. Why talk about this subject “change parameter CATIA macro”? So every model has some kind of stock-list.  You need to fill those parameters every time. Rather there are a lot of parts with the same parameters. Also when you work as a team, you need to have same parameters for the same parts. For example, on trim dies, you have trim steels, and a lot of colleges will have them too. Hence best practice is to set those same parameters on all dies. 

It is a perfect time to use the macro for this action. So let’s write some code for change parameter CATIA macro. 

Writing macro code

This is just a basic idea, so you can do a lot more. Our code will fill just a few parameters, like material, info and example for dimension.  We have in the tree three parameters with names: Material, Info and Dimension. Consequently, we want to set values for these three parameters. 

Furthermore, this macro will only fill these parameters if they exist.

This part of code will make new string parameter and and value “Text”

Even more, see the video for more info.

As you can see in the video we demonstrated application with these basic macros. Therefore this application is very useful and saves a lot of time. It solves problems with a different profiles of parameters in every part and model. So if you are interested to buy this part of the app please contact us.

6 thoughts on “Change parameter CATIA macro

    • March 29, 2019 at 8:34 am

      Hello, what macro did you try?
      There is huge possibility that some doesnt work on older versions. I test all macros in v5R26.

      Can you tell me what did u try so i can check it?

      Try color palate, that one must work.

      All the best

  • October 19, 2019 at 10:39 am

    Hi, can help me to find gap between two parts or two cast part??
    for example, if we take shoe and cam in die design, if there is no clash between them but they have o mm or very less gap(5mm to 20mm) between them.


    • October 19, 2019 at 1:59 pm

      Hello, easiest way to find it is with clearance option in clash. More advanced option is with Edit Distance and Band Analysis tool.Second one is perfect option for your needs, it will find anything between two parts.

  • March 15, 2022 at 4:14 pm

    How change name for set parameter with macro??


Leave a Reply

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