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
Convert VBA code to CATScript or VBScript
GisMofx provided me this VBA code.
I use this code to remove the specified symbols from my Catia Part bodies.
Can you please help me in converting this into CATScript or Vbscript?
Sub FixPartBodyNames()
Dim myPart As Part
Set myPart =…

J.Zecha
- 1
- 5
0
votes
1 answer
Catia V5 CATScript to Remove Symbols From Part Body Names
I have searched forever for a macro that would let me remove "." and "/" from Catia v5 Part Body names.
Has anyone ever seen a macro like this?
I have a part that reads into Catia with more than one Part Body in them with those symbols.
I want to…

J.Zecha
- 1
- 5
0
votes
1 answer
Introduction to CATIA CAA programming
I need to start working in CATIA CAA and I am looking for an online introductory course. From a previous post, there doesn't seem to be much available .
All I found is the quite messy documentation which I started digging from:
…

Nic
- 1,262
- 2
- 22
- 42
0
votes
1 answer
How to create a function for translate using vba CATIA?
Im working on vba CATIA and I am trying to create a function for translate operation. But I am getting an error in assigning the Output of the function to an object.
Looking Forward for a solution.
Thanks in advance!!
Function CreateTranslate(source…

user3714887
- 77
- 3
- 16
0
votes
1 answer
How to get Body Color in CATIA VBA macro?
Is it possible to read the color of a CATBody? Something like:
For Each myBody In myPart.Bodies
myColor = myBody.Color
Next

Nic
- 1,262
- 2
- 22
- 42
0
votes
1 answer
Export single CATIA body from CATPart as stl using VBA macro
Is it possible to export a single CATIA body as STL without creating a separate part with it?
For the time being, I have coded a script which loops through the CATParts present in a folder, fetches the contained bodies and create a single CATPart…

Nic
- 1,262
- 2
- 22
- 42
0
votes
1 answer
How to customize Catia
How customizable Catia is? Can you customize Catia's screens? Workflow?
I want to intercept user actions in Catia and authorize them by calling an external authorization service.
If a user is trying to view certain documents or screens etc - I want…

User0123456789
- 1
- 1
- 3
0
votes
0 answers
Why Memory Access Violation error when application outside C:\Program Files
We have been getting reports of a CAD application (64 bits) crashing multiple times during their sessions with a Memory Access Violation 0xc0000005 error on multiple PCs. I had doubts that it was a hardware issue.
I noticed that the application was…

DFIVE
- 253
- 1
- 5
- 16
0
votes
1 answer
Run VBScript macro on Exiting Catia Automatically
I want to be able to run a batch file automatically when I exit Catia. So when I select the file exit menu option the batch file will run. Similarly when I click the Catia close X button top right. The batch file will also run. Is there a specific…

David Egan
- 424
- 2
- 8
- 23
0
votes
1 answer
Run windows application with a CATIA sub
I would like to know if is it possible to run a windows application inside of Catia macro. To pop-up or lunch an aplication from Catia macro.
eg. Is it possible to program in VBA a CATIA macro with on click button that opens an application from…

Macro Notworking
- 1
- 1
- 2
0
votes
1 answer
Catia Sheet No. Title Blocks
I would like to get some VBA code which would tell me the number of sheets in a Catia drawing. Each sheet would have a title block placed on it. A text field on each title block would communicates the number of sheets. So if you had three sheets in…

David Egan
- 424
- 2
- 8
- 23
0
votes
1 answer
How to know if a Catpart is used in some product or not
I have hundreds of Catia V5 catparts and catproducts in a folder on hard disc. I want to know if a particular catpart is used in some catproduct or not. If it is not used in any product, I want to delete it and clean my hard disc. One way to do it…
0
votes
2 answers
How do I open a TCSession?
I'm working with Teamcenter and Catia via the Java SOA libraries. I'm running into an issue where the demo code appears broken and I can't find a good example or documentation to work towards. The following code results in a null value exception. …

Aaron Paluzzi
- 1
- 1
- 3
0
votes
2 answers
How to change sketch support in CATIA using vba?
I want to Change a sketch Support from one plane to another in macro.
I tried with StartCommand but that did not work. How can this be done without user Input?
I have tried the following code but it did not work.
CATIA.StartCommand "Change Sketch…

user3714887
- 77
- 3
- 16
0
votes
0 answers
SolidWorks/Inventor/Catia circuit simulation?
I use Labcenter Proteus Circuit simulation - you create circuit design, then apply current and see simulation in action - for example leds are blinking, or motor is rotating. If there is microcontroller - say AVR, you just load compiled hex file for…

sandric
- 2,310
- 3
- 21
- 26