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
Remove No Element Publication from Catia
I wanted to remove the broken publications which are having No Element Status only highlighted in yellow as shown below.
Below is my code its not giving full result. please help me to resolve this.
Sub CATMain()
Set CATIA = GetObject(,…

sid
- 1
- 1
0
votes
1 answer
How can I get children features of selected feature using CATIA macro for part simplification (Inactivate edgefillet, chamfer)?
I m trying to inactivate the edge fillet and chamfer feature to simplify the CATIA model.
I made the macro code as follow.
However, obiously, if the other features refer the fillet or chamfer, the part cannot be updated.
Thus, I want to inactivate…

leeeeee
- 3
- 2
0
votes
0 answers
How to use CATIA CatScript macro to capture a specific view of a part?
I am tasked to find a way to help our design team to screen capture a specific position of a part. However, I don't know how to customize my own position.
I tried looking at some codes on the internet and I found this:
Sub CATMain()
Dim…

Wan Syafiq
- 1
- 1
0
votes
2 answers
Activation of deactivated features
I'm attempting to activate the deactivated features.
I think if I get a Feature.activity parameter and change it to True from False, then I can activate all the decativated features.
Sub CATMain()
' On Error Resume Next
Dim partDocument1 As…

leeeeee
- 3
- 2
0
votes
1 answer
How do I clone a OLE/COM registry entry for use with different settings
I have written a C# program that is to interface with Catia v5.18 via OLE/COM. It is going to be a common case where the machine the program is ran on will have multiple versions of Catia installed on it. Both older and newer and installed in any…

BPugh
- 111
- 5
0
votes
0 answers
CATIA VBA Connection with Excel
I wrote a piece of code in VBA of CATIA, using Selection object. I needed an access to a Excel file to get some value from it, so I ticked the library "Microsoft Excel Object Library", but whenever I do that, an error appear with the message…

Hung Pham Vu
- 39
- 5
0
votes
0 answers
Catia V5 VB.net code, control instance name
I have a Catia V5 Product inside another product :
The following code allows me to add a new part called "PART_NAME" inside the main "Product1" (Note that 2 lines are commented) :
Dim CATIA = GetObject(, "CATIA.Application")
Dim documents1…

Guigui
- 21
- 4
0
votes
0 answers
Catia V5 VB.net code, how to remove popup "some contextual links will be broken"
I have a Catia V5 assembly where I'd like to delete a part that is inside a product. I made the following code.
`
Public Shared Function Delete_Part(Name_Of_The_Product_Instance_Containing_The_Part As String, Name_Of_The_Part_Instance_To_Delete As…

Guigui
- 21
- 4
0
votes
0 answers
Error moving lines/circles in CATIA drawing with VBA macro
I am writing a macro handling a title block in Catia drawings.
I have subs that I use to move circles and lines, which work fine (code initially found here)
Private Sub moveCircle(oCircle, dX As Double, dY As Double)
Dim oCtr(1)
…

fabien.d
- 1
0
votes
0 answers
Extract Gentrated item in Drafting
Extract item of generated item in CAT Drawing for lines I am tiring
Drafting Generated Item selection
I am using this but not able extract it
help me out
TRY TO EXTRACT GENTRATEDITEM(Lines) IN Drawingsheet as per view
0
votes
0 answers
How to get an instance name and a file path of a child unloaded document in a CATIA Product via CATIA API?
We try to get the "Link to Reference" properties (the CATIA Part/Product file path) and the Instance name property via CATIA VBA API when this CATIA Part/Product is not loaded in the CATIA (it is a broken link)
When this child CATIA Part/CATIA…
0
votes
1 answer
Simplify complex catia model
I have a very complex CAD model of a car, and my task is to present it in VR. Since it's so complex, every single screw and stuff is in there, it currently is impossible to work with.
Unfortunately, I'm a total Catia beginner. Is there any way to…

b4lura
- 1
0
votes
0 answers
how can I get geometry coordinates in Catia macros?
I'm trying to write code which can measure geometry coordinates in Catia active document, probably in CATProduct?! this is my code and the result is nothing. MsgBox doesn't show anything.
Sub CatMain()
Dim varFilter(1) As Variant
Dim objSel As…

Salome
- 1
- 2
0
votes
0 answers
Is it possible to insert an attribute link to a part property in a drawing through a VBScript/CATScript macro?
For example, when I create a part in Catia, I add a plane at a certain offset. Now, I make a drawing, and want to include a table where this offset is listed. Manually, I can rightclick it, insert an attribute link, and click on the desired offset…
0
votes
1 answer
Spacing Between a letters
I have a text creation macro with me for CATIA V5
I want to include spacing between the letters for the text created in drafting
What is the best possible way for that

Vaibhav
- 1