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
1
vote
0 answers
Export CATIA - Maya to Unity Issue
Good morning,
I've been trying to export a CATIA project file (.CATProduct) to Unity. To do so, I was trying to use Maya in order to create a .fbx file and then import it to Unity as an asset. However, I don't know why I can't see anything in the…

HoloAir
- 41
- 4
1
vote
1 answer
Catia VBA Automation Error Run-Time 80010005 - Selection ERROR
I have a Problem with my Userform. It should automatically Switch to another TextBox when an selection in the catpart made. I get the Automation Error: It is illegal to call out while inside message filter.
Run-time error '-2147418107…
user9907666
1
vote
2 answers
Catia VBA - Automation Error Get Object
I am getting an Automation error, when Catia is trying to write values in a selected Excel sheet. It's a bit confusing because on the first try of the code there was no error and the values were in the Excel sheet.
I didn't change the code, but on…
user9907666
1
vote
1 answer
CatiaV5 release 26 VBA Design.Geometrical
While executing the VBA macro script for the English language the macro works properly. Instead for German language CATIA V5 release 26 it does not work. The error occurs at this point in the code
SelectionRoot.Search "Part Design.Geometrical…

Vio
- 31
- 4
1
vote
2 answers
List of CATVBA InputObjectTypes?
For CATIA V5, the following lines of code prompt the user to select a feature, filtered by type.
Dim InputObjectType(0) As Variant
InputObjectType(0) = "Point"
selection1.SelectElement2(InputObjectType, "Select a point", true)
etc...
I want to…

HerbalTea
- 41
- 1
- 7
1
vote
0 answers
Passing Variables to Methods in CATVBA
This macro is written to manipulate features in CATIA. My macro asks the user to select a sketch so that it can then be copied into a new geometrical set (first stage of a much larger project). Here's the relevant bit of code:
Dim activeDoc As…

HerbalTea
- 41
- 1
- 7
1
vote
1 answer
CATIA macro from python
I would like to use my macro (.CATScript) to open the catia interface and make the changes listed in the macro script to the .CATpart and give output as .stp file. Is it possible to use python to realise this function?
There was an example in Run a…

Simulationeng_sam
- 21
- 4
1
vote
0 answers
Python_interface_to run_CATIA_and_Hypermesh
I am working on a python script which opens the CATIA application, runs the .CATscript, outputs a CAD file in .stp format and then used by Hypermesh, which will give out the meshed file of the geometry. However when I try to run the script, it says…

Simulationeng_sam
- 21
- 4
1
vote
1 answer
FTA Catia R24 Associative Front view (VBA)
does anyone know how to create Associative Front View in FTA using VBA. I have short macro to create Front View based on the geometry from 3D but this view is isolated and I must manually change it to Associative.
What I would like to have is…

Sebastian
- 29
- 9
1
vote
3 answers
CATIA C# Selection Search
I'd like to search through the tree in CATIA, and return the names of the parts in the tree using C#. My current code is as follows:
private void Search(object sender, EventArgs e)
{
string searchName = OriginalBox.Text;
…

Roots_radicals
- 11
- 2
1
vote
1 answer
CATScript - The method FindObject failed
I want to export the mass of a CATIA product using CATScript. This is my solution:
'Start code
Sub CATMain()
Dim SRT as ProductDocument
Set SRT = CATIA.Documents.Open ("T:\...\SRT_2030.CATProduct")
Set SRT = CATIA.ActiveDocument
Dim oSelection As…

Stefan
- 11
- 2
1
vote
1 answer
CATIA VBA Macro for inserting axis lines for slotted holes (drafting)
I decided to make a macro because my colleagues and I are sick of having to click the mouse many times to create the desired axis lines for every slotted hole on a drawing.
Here is the desired result:
The context is a generated drawing view in the…

Laurens Ruben
- 109
- 5
- 22
1
vote
2 answers
Catia VBA to .CATScript for type "Collection"
In my VBA code i'm using the following:
Dim docsToSave As Scripting.Dictionary
Set docsToSave = New Scripting.Dictionary
Dim toRemove As Collection
Set toRemove = New Collection
...
More Code
...
For i = 1 To toRemove.Count
docsToSave.Remove…

Laurens Ruben
- 109
- 5
- 22
1
vote
2 answers
CATIA VBA check parameter existence
I'm trying to check for the existence of specific parameters in a part and if it does not exist then I want to skip a small section of my code.
This is my current code that works as desired:
Dim partDoc As PartDocument
Set partDoc =…

Laurens Ruben
- 109
- 5
- 22
1
vote
1 answer
CATIA v5. Macro for extracting value of 3Dpart's parameter into a text box on the drawing
I've been trying to do what the title describes for over a day now and I can't seem to figure it out.
Situation:
I have a 3D part with multiple user-made parameters as string.
I create a new drawing with front, top & isometric view.
I wish to create…

Laurens Ruben
- 109
- 5
- 22