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
1 answer
CATIAV5 VBA - Programmatically isolate surfaces and wireframe
I'm trying to programmatically examine catparts (containing geometry and FTAs) and isolate some surfaces and wireframe inside, using CATVBA or catvbs.
My question is "how to programmatically isolate surfaces wireframe in CATVBA?" or more precisely…

Federico Destefanis
- 968
- 1
- 16
- 27
1
vote
0 answers
Open an Existing File in Catia V5 using Python
I have tried so much but I can't find an answer.
How do I open an existing File using Python? When I try running my script, Catia always says:
Document cannot be read
I've tried…

Kerim Gel
- 31
- 4
1
vote
1 answer
Selecting a Catia part in a for loop
There is a small error in my For loop as it will not select the part that I want to color. I used a variable hash to put all the names of the document there and then tried the Catia function to color, but still got nothing!
Below is a part fo the…

Sherlock Homies
- 162
- 1
- 9
1
vote
1 answer
Data to .CSV file in VBA
I am using Microsoft Visual Basic for Application. Here I want to store my data into a .csv file.
Dim FileName As String
Dim PathName As String
Dim ws As Worksheet
Set ws = ActiveWorkbook.Sheets("Sheet1")
FileName = "filename.csv"
PathName =…

Moni
- 47
- 2
- 11
1
vote
1 answer
Catia V5 macro to get the coordinates of the points inside repetition(Points and Planes)
Using a Catia V5 macro I want to get the coordinates of the points inside Repetition(Points and Planes).1. This Repetition(Points and Planes).1 is inside a geometrical set (Shown in image).
I have used selection.search to select Repetition(Points…

harishli2020
- 305
- 6
- 19
1
vote
2 answers
CATIA automation in VB.NET
I am trying to create a circle using VB.NET. However when I run the code below I get this error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt. " I can change the properties of lines and points…

A.Gharbi
- 709
- 6
- 20
1
vote
1 answer
Excel vba to modify Catia v5 model properties
I am a novice when it comes to CATIA, but I have a fair amount of experience with VBA in excel. I am trying to develop an excel macro that goes through the all the parts in a catia assembly, renames them by splicing the text where i want, and then…

Programmingnovice20
- 25
- 4
1
vote
1 answer
Cad automation software GUI testing
We are working on a CAD automation software. The software requires the user to click on a certain surface in the 3D Model during the process. This surface is similar in most of the parts we will use, but requires to move the camera around the part…

siver
- 11
- 1
1
vote
2 answers
{System.__ComObject} properties in Visual Studio debugger not the same as Excel VB
I've been trying everything for a week and I cannot find a soltion for this. The problem is that I have been automating process in CATIA with Excel VB and now I want to use Visual Studio 2015. The only problem that I have is the debugger in Visual…

Popinho
- 13
- 4
1
vote
1 answer
CATIA-CAA CATNavigBox Resize
Is it possible to change the size of the treeview window after it has been visualized?
My code looks like this:
_p2DNavViewer = NULL;
_p2DNavViewer = new CATNavigation2DViewer(this, "", CATDlgFraNoTitle | CATDlgWndNoDecoration…

Alexander Stolz
- 7,454
- 12
- 57
- 64
1
vote
1 answer
vba catia v5 R24 start- and endpoint of edges
I am new to catia and vba programming.
I tried to get start end endpoints from edges, to calculate interception points.
Its easy for RectilinearTriDimFeatEdge it provides a GetOrigin and GetDirection method where endpoint can be calculated by origin…

al-eax
- 712
- 5
- 13
1
vote
0 answers
Retrieving CATVariants from CATIA in Python
I am interfacing CATIA with Python in order to obtain the inertia matrix of some body. When arriving to the inertia matrix object, which is labeled as:
bound method GetInertiaMatrix of COMObject Item
I am unable to obtain any components of the…
1
vote
0 answers
HTML5 Canvas for 3D imported drawing from Catia dassault systemes
I am looking for a way to insert 3D drawing made with Catia v5 into a HTML5 canvas!
Something that would let me drag the part and rotate it with a zoom in and out. Is there anything like that already out there??
Catia v5 is a software to draw…

MadeInDreams
- 1,991
- 5
- 33
- 64
1
vote
1 answer
Catia D.S.L.S. DSLicSrv -admin Dos Utility
I am currently trying to write a batch file to export from the D.S.L.S. licence manager a list of current users using Catia. We use D.S.L.S. within our company to distribute Catia licences. The licences we use are DP2,MD2 and ST1 licences. The…

David Egan
- 424
- 2
- 8
- 23
1
vote
4 answers
Run CATIA VBA macro in batch mode from Visual Studio
I have created a VB class to manipulate a CATIA project. The VB code is compiled into a dll loaded into a C# project.
Imports ProductStructureTypeLib
Imports INFITF
Imports MECMOD
Public Class MyCATIAClass
Private catia As INFITF.Application
…

Nic
- 1,262
- 2
- 22
- 42