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
4
votes
3 answers
CATIA CAA folder structure
I am new to Catia CAA development, when we create a project in Visual studio. Folder is created with Cnext, Identity card, Private/Public/Protected interfaces. Can anyone explain what all these folders actually are? Thanks for any response

Leo
- 41
- 4
4
votes
1 answer
Matlab - Catia connection error
I need to set up live connection between Catia and Matlab so I can send parameters values to my parametric design in Catia and read some other parameters and measures.
This is my sollution:
First I create:
VB NET (*.dll)
Public Class…

vbar
- 81
- 5
4
votes
3 answers
Getting a specific instance of COM object in VB.Net
I am writing a Windows Form application in .Net to list all running instances of a third-party CAD/CAM software (in this case CATIA) and let user to choose one of them to perform couple of automated tasks. For performing automated tasks, I need to…

MGH
- 41
- 1
- 5
3
votes
0 answers
Catia v5 Machining Process, read Mfg Tool attributes via VBA
I had the need to retrieve the geometrical/technological attributes from the tools loaded in a Catia CATProcess machining project.
To do so, I came up with this piece of CATVBA code:
Dim MfgDoc1 As Document
On Error GoTo Erreur2
Set MfgDoc1 =…

MVa
- 31
- 4
3
votes
2 answers
vb.net how to exit recursive loop
I'm making a code for a 3D Program CATIA and the code runs through all tree with recursive loop. I would like to exit the recursive loop, after it find a specific product. But my code keeps running , even though he found it. I wrote roughly meins.…

sem
- 49
- 4
3
votes
1 answer
VBA composition for java-like inheritance
Expanding a bit on this question VBA inheritance pattern
I'm reproducing a basic inheritance pattern in VBA,
but I would like to understand If there is a more efficient and terse way to accomplish that.
Consider this little…

Federico Destefanis
- 968
- 1
- 16
- 27
3
votes
2 answers
Connecting CAD model (Solidworks, AutoCAD or CATIA) with realtime measurements from Raspbery Pi or Arduino Sensor
To present my question I will simplify my example.
I will connect a sprocket on a step motor and measure acceleration with an accelerometer. The data will be captured by using either an Arduino or Raspberry pi sensor setup. The measurements will…

tony rox
- 37
- 3
3
votes
1 answer
how to create a color pdf from excel using (Catia) vba
Hej, I am new in coding. I am trying my best but I am stuck. I have searched internet and stackoverflow but haven't find answer.
I am writing code in Catia V5 VBA and I want to export excel to pdf. Excel has some pictures in color and I want that…

CodeCatia
- 127
- 1
- 9
3
votes
3 answers
Use C# for Catia V5 Automation
I want to write Macros/Programs for Catia V5 with the programming language C#.
How is it possible to access the Catia applicataion via c#(and Visual Studio). I searched a bit and found out that Catia provides an API, which the Microsoft COM…

Blackpanther0001
- 258
- 1
- 3
- 14
3
votes
3 answers
Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result
I'm trying to create a toolbar in Catia. This toolbar (based on a VBA form) will have buttons which should start Catia Commands (among other things). One of the commands I'm trying to start is the "Constraint" command (which should allow you to…

Christian Eriksson
- 2,038
- 2
- 22
- 28
3
votes
2 answers
How to Learn Flow in CATIA CAA V5 R18 c++
I am new to CAA. I have gone through CAA Documentation. I can find the interface I required for my need but I don't know from where should I query them. In CAA Documentation there is no detailed description of what the Interface is related to. How…

maha
- 53
- 10
2
votes
1 answer
Does Catias 3dxml format contain CAD as Nurbs, or is it just a triangulated/polygonal mesh?
I am curious if 3DXML is actually a Mesh or if it is Nurbs. Is it limited when compared to a Catpart/Catproduct assembly? My background is not Cad so apologies if this isn't a good question

thisisnice05
- 41
- 8
2
votes
1 answer
How can I get the position of a CAD part via VBscript?
I want to write a VBScript, which outputs the position of a CAD part (x,y,z). The Input should be the partnumber. This is what I tried.
Sub CATMain()
dim pos(11)
for n = 1 to CATIA.Documents.Count
set Dokument =…

Kevin Winnik
- 91
- 6
2
votes
1 answer
VBA Catia module organization
I have a problem with organizing my CATIA macros and I can not find a suitable solution for it.
At the moment I have a large project that grew from smaller one in time. It is 10k lines big and it is written in one module. I would like to make it…

Tomislav Horvat
- 163
- 1
- 8
2
votes
1 answer
Delete Excel sheet randomly fails
I am trying to delete Excel sheet via C++ code but randomly it fails.
Here is the code:
HRESULT hr = AutoWrap(DISPATCH_METHOD, NULL, pXlSheet, L"Delete", 0);
This function returns S_OK even delete sheet failed but the sheet isn't deleted from the…

usmanharoon
- 173
- 2
- 13