CATIA (Computer Aided Three-dimensional Interactive Application) is a CAD/CAM/CAE software developed by the French company Dassault Systèmes. It is widely used in automobile and aeroplane construction. Plugins for CATIA can be developed with the commercial API called CAA from the same company. CATIA has also a reduced, but free API called Automation Interface that can be used via COM.
Questions tagged [catia]
422 questions
0
votes
1 answer
CATIA V5 C# how to get AxisSystem from Active Document
I'm trying to update XAxis on Active CATIA document using C#. Anyone knows how to do that? somehowGetActiveAxisSysObject() is placeholder in pseudo code:
Array xMatrix = Array.CreateInstance(typeof(double), 3);
…

Admus
- 1
- 3
0
votes
1 answer
Automation of Cat Part sharp edges
Hi I'm new to catia VBA I want to write code which automatically extracts sharp edges and display the total length of sharp edges. Can anyone please help me.

Hyder Shariff
- 1
- 1
0
votes
1 answer
Visual Studio CATIA Product Creation
I am trying to create a product using visual studio in CATIA. I have imported all the required references like INFITF MECMOD ProductStructureTypeLib. I have written a small code to create a product. It is working fine according to the code but…

Aatrox The Darkin Blade
- 81
- 11
0
votes
1 answer
Capture Macro in Catia 5
I need to write a macro in Catia 5. My aim is to convert cgm files to png at the desired background color and at desired resolution. Manually I am doing it by Capture->image->options(setting resolution and background color)-> save as .
I need to do…

Yusuf Selim KARATAS
- 115
- 1
- 10
0
votes
1 answer
How do I resolve Run-time Error 438 inside a CATIA macro?
I am writing a macro in CATIA v5 using VBA. The program is suppose to take points from a geometric set and transfer them into an excel file. I have successfully gotten the excel document open, a header created, but then I receive "Run-time error…

Trevor R. Shreve
- 3
- 4
0
votes
1 answer
Vba activate grid control as additional control
I want to add control to user GUI that would represent excel like table but I cannot find additional control that would do that. Control like that would be used for easier data entry.
I believe that VBA has control like that and I am missing…

Tomislav Horvat
- 163
- 1
- 8
0
votes
1 answer
CAA unknown push button notification
is it possible to catch notification from unknown push button with CAA? I mean I need to catch notification from an Edit-button in macro dialog.
Thank's for your help.

LaTB
- 1
- 5
0
votes
1 answer
Catia: 2D Points to 3D Points
I have a Catia part where I have a few sketches on different planes. I need to be able to convert these sketches into 3D points which I copy to a new part document.
I have tried to use the Search and Selection commands in VB script in order to use a…

Mghs
- 3
- 2
0
votes
1 answer
Running CATIA script from Microsoft VSCode
I am currently developing a macro for CATIA software. While the CATIA itself has a visual basic editor, but I am writing my code in the VSCode editor.
When I want to run my macro, I should go to the folder containing the code, and double click the…

JetSonic
- 103
- 1
- 7
0
votes
1 answer
Variable Number of Features According to Dimensions in CATIA
I have worked with CATIA vba coding, and I know that it is possible to generate geometrical features (like planes, points, intersections, ...) using a vba code. And also I know that you can repeat an operation (for example creating a planes) as many…

JetSonic
- 103
- 1
- 7
0
votes
0 answers
How do you measure maximum dimensions?
Let's say I want to measure the minimum package for a part, calculating the maximum length, height and width (see image in Measure Intertia Tool, you'll find a green, red and blue line representing what i want to measure)
This tool gives you the…

Anton
- 1
- 1
0
votes
1 answer
C# - How to start CATIA with env details
Hi is it possible to launch Catia by including the env details, with the exe path, something like
C:\....\bin\cnext.exe -env CATIA_P3.V5-6R2014.B24 -direnv
I am able to launch with just the path but would like to know if its possible with the full…

sina123
- 189
- 1
- 1
- 13
0
votes
1 answer
Is it possible to move an Part using a macro in CATIA?
I have a CATProduct Assembly, and I want to rotate one of the parts around an axis (specifically the axis of another part, but using the y-axis also works). Using a mouse, I'd open the "Manipulation Tool", select my axis, check the "With respect to…

9 Guy
- 176
- 3
- 14
0
votes
0 answers
C# -Launch Catia by opening a CatPart
I am working on Catia V5 automation and have a requirement to launch Catia by clicking a CatPart/ CatProduct if Catia is not already running. I tried the below code:
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName =…

sina123
- 189
- 1
- 1
- 13
0
votes
1 answer
How to open Generative Shape Design Workbench in Catia V5 using Python WinCom API
I am using the pypiwin32 Python API for Catia V5 to try and perform some operations on a surface, operations that are in the Generative Shape Design workbench. I am referencing this code snippet I found here of someone opening the Analysis…

Haley Beavers
- 53
- 1
- 3