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

Introduction

First of all in this post we want to write about connection between CATIA macro and parameters in the tree. So there are lot of options in this direction. One of possibilities is to have full control on 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 to 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 same parameters. Also when you work as a team, you need to have same parameters for same parts. For example, on trim dies you have trim steels, and a lot of college will have them too. Hence best practice is  to set those same parameters on all dies. 

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

Writing macro code

This is just basic idea, so you can do a lot more. Our code will fill just 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 video for more info.

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

4 thoughts on “Change parameter CATIA macro

    • March 29, 2019 at 8:34 am
      Permalink

      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

      Reply
  • October 19, 2019 at 10:39 am
    Permalink

    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.

    regards,

    Reply
    • October 19, 2019 at 1:59 pm
      Permalink

      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.

      Reply

Leave a Reply

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