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
0 answers
Calling CATIA v5 .CATScript from python
I have been working on a code to run a .CATScript of CATIA v5 from python 3.6. In short, the objective is to run the .CATScript from python module. By running the following script from python console, the CATIA interface opens but the script is not…

Simulationeng_sam
- 21
- 4
0
votes
1 answer
Placing 2D rectangles in a 3D space
hope you are doing well. I have a problem regarding placing the 2D rectangles in a 3D space. I have a CATIA software in which there are a few rectangle boxes that I need to place along the border of the screen, as shown in the image.
The dotted…
user4802600
0
votes
1 answer
Web application to manage CATIA files
A have a question for CATIA customization experts!
I'm intend to develop a web application able to perfoms the following tasks:
Modify some parameters into CATIA files. eg.: change the diameter or length of a part;
Convert theses CATIA files to…

A. Monteiro
- 1
- 2
0
votes
1 answer
Selecting partially bolded DrawingText in Catia Drawing workbench
I'm currently developing a Catia vba script to look for specific texts in a plan, within the Drawing workbench.
For this particular macro, I need to search bold text. But the thing is I know that the DrawingText object has an attributed called bold…

Diego C. P. Blanco
- 105
- 5
0
votes
1 answer
catia vba Do Until .saved and DoEvents, how to regain control of CATIA?
This code allows me to quickly close and, if necessary, save documents with a keyboard shortcut.
Sub CATMain()
Dim doc As Document
Set doc = CATIA.ActiveDocument
Dim MsgBoxRes As String
If doc.Saved Then
doc.Close
Else
MsgBoxRes =…

Laurens Ruben
- 109
- 5
- 22
0
votes
1 answer
How to change position of TXT and dimensions in FTA by VBA
I have small problem, does anyone know how to change position of existing dimensions and Notes in Part/Product using short macro.
I will shortly describe what I want to do and what kind of problem I have.
I have simple model (let say…

Sebastian
- 29
- 9
0
votes
1 answer
Instantiate PowerCopy in CATIA V5R24 using VBA macros
I would like to create macro for power copy. I took code and models from this link
unfortunately it doesn't work (I have made small modifications). Similar problem I have found in this subject, and in his case it works.
Private Sub…

Sebastian
- 29
- 9
0
votes
2 answers
CATIA VBA Enable use of "Scripting.Dictionary" in .CATScript
When running a .CATScript whose code was copied from the VBA environment and functions as intended when run in the VBA environment I get the following error:
The scripting engine has reported the following error:
Source: Microsoft VBScript runtime…

Laurens Ruben
- 109
- 5
- 22
0
votes
1 answer
Catia VBA Saving specific parts or products from a .stp file as .CATPart and/or .CATProduct
I have an .stp file, exported with a different CAD-software, which I can open with CATIA.
CATIA will then list the product/part tree as if it were a native CATIA .CATProduct.
My goal is to automate opening such an .stp file with CATIA and saving all…

Laurens Ruben
- 109
- 5
- 22
0
votes
1 answer
CATIA V5: inform the user a change occured
Good afternoon,
I would like to inform the user if a bushing in an assembly has been altered (there is only a "desired length" parameter to choose the bushing length) and the user does not realize when this happens, therefore it is necessary to…

Castella
- 3
- 1
- 7
0
votes
2 answers
CATIA v5 VBA: Custom BOM Macro inserting UserRefProperties into table
I want to create a custom BOM and I found a macro on the coe.org forum (see at bottom of post).
I'm having some difficulties implementing it as I require.
At some point the macro uses the code:
Call oDrawingTable.SetCellString(n, 1,…

Laurens Ruben
- 109
- 5
- 22
0
votes
1 answer
catia vba change activedocument (drawingdocument) name in session
I have a .CATdrawing template that I use to create drawings for all my parts.
My current macro opens the template as desired.
What I would like to do is to change the working name of the document so that when the user clicks "save" the correct name…

Laurens Ruben
- 109
- 5
- 22
0
votes
2 answers
CatiaV5 macro: how to insert background view?
I'm making a macro to automatically open a new drawing on the correct sheet format with filled in title block but I can't seem to figure out how to insert a pre-made .CATDrawing in the same way the following option in the page setup dialog box…

Laurens Ruben
- 109
- 5
- 22
0
votes
3 answers
catia v5 export tree through VBA macro
I need to export the Catia Spec tree to use as a BoM.
The Export Should:
Go to Excel and will use the WalkDownTree function.
Have the PartNumber, Nomenclature and a User Added
Property called "Sinex Ref".
It will also have to make sure that the…

Castella
- 3
- 1
- 7
0
votes
2 answers
How to create 3D pdf with Catia
how do I create 3D pdf with Catia - without converters or any other add-ins?
When I go to "Save As" I don't have .pdf option...

jok23
- 286
- 1
- 5
- 19