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
c# how to wait for external code to complete
My application talks to another piece of software (Catia V6/3DEXPERIENCE), using various .dll's.
Some of the functionality in this interface appears to run slightly asynchronously, which is causing occasional failures in my script.
"AnyObject" and…

ErosRising
- 165
- 7
0
votes
2 answers
How to search, select and delete all geometry in a sketch using catscript?
I am trying to search, select and delete all geometry (points, lines, ...) inside one specific sketch.
I can't find the right search command. It either selects all geometry of the entire part, which I don't want or nothing at all.

Voxis
- 1
- 2
0
votes
1 answer
CATIA /VBA- modify Point property
I created a macro That modify property of balloon object in CAT drawing but the problem I cant modify the Point property and it's line (see below )
My code :
myBalloon.Text = Right(myBalloon.Text, 3)
myBalloon.SetFontSize 0, 0, 2.5
…
user7755666
0
votes
0 answers
Error 91, VBA Excel, CATIA API: variable not set
I'm trying to access CATIA functions in updating document life cycle in Smarteam in excel macro, the following lines
Dim CATEngine As StiEngine
Set CATEngine = CATIA.GetItem("CAIEngine")
keeps returning error 91: variable not set issue.
From this…

Nicolas
- 1
- 1
0
votes
0 answers
VBA, CATIA Macro break loop
When I click the Next button on the form I would like to get the next part on the Form
I have a for loop that goes through Product Tree and reads PartName in variable oForm.txtPartName. On oForm there is a button Next and what it's supposed to do…

That'sMe
- 1
- 1
0
votes
1 answer
CATVBA, CATIA incorrect selection
I'm trying to alter a user selected parameter of a selected CATPart in an assembly via CADSelection. Ultimatelly this will go into a GUI in VBA and the user will, select the CATPart, open the macro and via the GUI change whatever parameters he…

Castella
- 3
- 1
- 7
0
votes
1 answer
Catia V6 - Escaping out user selection box causes error
I am developing an application in C#, part of which requires an interactive user selection using the inbuilt function:
SelectMultipleElements( CATSafeArrayVariant iFilterType,
CATBSTR iMessage,
boolean iMaySkipInteractiveSelection,
…

ErosRising
- 165
- 7
0
votes
0 answers
VBA Reaching Active Excel Workbook from Another Applicatiom
I am trying to make program to see the excel workbook that is already open, but it doesn't. Controlling with xlApp.Visible = True line creates a new excel document instead making the open one visible. Any suggestions please?
Edit: I added the rest…

ccan
- 13
- 4
0
votes
0 answers
catia : how can i make the macro : Apply powercopy to each part at once
For example, there are 20 parts in a product.
I have to apply the already made 'powercopy' to each of the 20 parts.
I would like to apply this at once using macros.
Is this possible?

W.S.Choi
- 1
0
votes
0 answers
How to catch event at catia v6 macro
I am novice at catia v6 macro development. I have already develop some macro like traverse spec tree, update document id etc at c# and vba.
I need to know how to catch event while saving a document. Suppose I have to update some properties…

Monowar
- 106
- 5
0
votes
1 answer
Disassemble surfaces in CATIA using VBA
Is there a way to disassemble a surface in domains in CATIA through VBA, maintaining the dependencies between the initial surface and the separated domains?

Diego C. P. Blanco
- 105
- 5
0
votes
1 answer
Catia Screen Capture Code
Can someone help me with a code for capturing a 250X250 pixcel screen and copying it into clipboard. I would like to paste the image into an excel i can code that part. I have no clue where to start. I have made a code till reframing on the a point…

Aatrox The Darkin Blade
- 81
- 11
0
votes
1 answer
Catia Start command reframe on and align plane
I am trying to create a program for automated screen capture in catia.
For that I have to create a plane align camera to that plane and then reframe the camera to that plane. So i used the following code.
Dim selection1 as selection
Set…

Aatrox The Darkin Blade
- 81
- 11
0
votes
1 answer
Catia V5 Macro: Incomplete renaming function
I've been dealing with this a while and even had help but i can't work it out.
The following macro renames PartName or InstanceName depending on user and CADSelection.
Problem is it's not working in PartName alteration.
Can someone help me complete…

Castella
- 3
- 1
- 7
0
votes
1 answer
Catia VBA (replace-command schreplace)
I'm trying to develop an assembly which uses contextual link... But stuck up at a point where I need to replace a existing axis system with new axis system. I came across a command from object browser - schreplace... Can someone assist me over this…

AVIS
- 1
- 3