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
1 answer
Check Part or Product was selected
I have a assembly like:
RootProduct:
SubProduct with Parts
Part 1
Part N
I'm writing code that check what type of item user selected and add new Part with my own parameters to the selected Product.
And I have a problem with checking what user…

Nikita Pelevin
- 47
- 1
- 8
0
votes
1 answer
Calling user reference properties in CATIA using VBA
I'm looking to call user referenced properties in CATIA. Currently I am able to do this through a direct path using:
xyz = CATIA.Activedocument.product.UserRefProperties.Item("DESIGNER").Value
MsgBox (xyz),0
I'm looking to generalize so that what…

aaron
- 81
- 1
- 10
0
votes
1 answer
VBA - Cannot access all the UserForm members inside a function
Suppose I have a simple VBA project containing a UserForm called UserForm1
If I pass UserForm1 to a function as a Userform type variable I cannot access all the members of the UserForm, for example the the .Height property, as you see in this simple…

Federico Destefanis
- 968
- 1
- 16
- 27
0
votes
1 answer
Using VBA in Catia for selection and changing and attribute
I'm attempting to change attributes in Catia on an active selection only. I'm looking to take this code and generalize it so that instead of targeting 1 specific item, it will activate the macro on whatever item I have selected.
Sub CATMain()
…

aaron
- 81
- 1
- 10
0
votes
1 answer
How do I select a robot under PPR tree using DELMIA VBA?
I want to create a robot task for a specific robot under PPR tree using DELMIA vba. But I'm having trouble selecting the robot using its instance name. I've recorded the macro while changing the instance name of that robot (just to see how DELMIA…

Friedhelm
- 1
- 1
0
votes
1 answer
CATIAV5 assemble or disassemble a catvba project for version control
CATIAV5 manages vba projects in specific files with extension .catvba
These projects are structured and behave like other VBAs: they have Modules, Forms and Classes.
You can manually import export this VBA components, as you can do for example in…

Federico Destefanis
- 968
- 1
- 16
- 27
0
votes
1 answer
C# Adding text to drawing sheet in CatiaV5 via API- Unable to refer DrawingDocument
I am trying to add text field to an opened drawing in CatiaV5 through the API. Though I am able to start Catia, open the drawing I am not able to refer to the DrawingDocument, DrawingText classes even though added references DRAFTINGITF.tlb file. Is…

sina123
- 189
- 1
- 1
- 13
0
votes
0 answers
C# and Catia - want to store .exe and dlls from separate directories
OK,I'm not a seasoned developer - I typically do my coding in the scripting realm. But in this case, I want to compile a bit of code in C#, that interfaces with Catia. It is a console app, when executed, prompts user for a selection. No UI from…

Mhan7
- 1
- 3
0
votes
0 answers
Publishing element in 3DExperience 2018 with VBA
Is there a way to publish element with VBA in 3DX 2018? I tried to use SimPublicationService object of ActiveEditor, but as I do not have any Simulia role this object is unavailable to me. Is there another way to publish element with VBA without…

Ilia Bochkov
- 1
- 2
0
votes
0 answers
Why can an SVG file contain "cm" and is it displayed correctly in browsers but not in Visio or similar programs?
I have a problem.Unfortunately I am not really experienced yet and have not found a solution or explanation. Please forgive me for my perhaps trivial question.
I open an SVG file with the help of a Python library and draw something into it.
If I now…
user12971895
0
votes
1 answer
KWA Catia R24 - Activate / Deactivate components by script (Problem with Extrude)
I have created simple code to Activate/Deactivate components in GS (with simple modification you can also Hide/Show components) in 99% cases it works but I have noticed that there is a problem with EXTRUDE this script is able to deactivate all…

Sebastian
- 29
- 9
0
votes
0 answers
VBA macros for CATIA works on one computer, and doesn't work on another computer
I am not expert in Catia macros but I wrote one simple code and it works on my Catia but on other other computer it doesn't work.
The macro is about deleting deactivated bodies from the tree. PLEASE HELP. Here is the code:
Sub CATMain()
Set…
0
votes
1 answer
Adding new point on curve in CATIA V5 VBA
I am writing VBA code for Catia V5 to define an endpoint on a reference line.
The section of code looks as follows:
Dim oReference1 As Reference
Dim oHybridShapeFactory As HybridShapeTypeLib.HybridShapeFactory
Dim intPoint As…

najusten
- 59
- 6
0
votes
1 answer
Catia Search and delete
When I manually search & select and delete an object, catia shows a "Delete" dialog box where I can select "Delete all exclusive parents" & "Delete all children". When I carry out the same process using the following code, "Delete" dialog box does…

Kannan Rajan
- 35
- 5
0
votes
1 answer
CATIAV6 Generate STEP information for assembly in xml format- .stpx
I have a requirement to use the STEP data of an assembly / physical product as .stpx type. How is it possible to achieve in CATIAV6. Is it possible to convert .stp to .stpx format?
Thanks.

sina123
- 189
- 1
- 1
- 13