Questions tagged [catia]

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.

422 questions
0
votes
1 answer

How to solve this error when building the CATIA CAA RADE code

We have some custom code currently built against v5 R20. I am setting up a new machine to build the same code against v5 R23. I think I've got everything installed, but when I run our build script (which calls mkmk), I get loads of errors like Error…
0
votes
2 answers

VBA macros for CATIA works on one computer, and doesn't work on another

I have a CATIA macro in VBA, that draws points by coordinates (from arrays). It works on my computer (Catia V5-R2014 and on my neigbours - two versions V5-R2014 and R21). But it doesn't work for colleges in a different city (they have version…
DDR
  • 459
  • 5
  • 15
0
votes
1 answer

Adding Catia part properties through VBA, converted from CATScript

I am trying to manipulate Catia Part properties using Access VBA. I know there are some incompatibilities between the CAT scripting language and VBA. I am wondering if there are any work arounds or other options for the following built in…
Rob
  • 69
  • 1
  • 9
0
votes
1 answer

Instantiate PowerCopy in CATIA V5R19 using VBA macros

I cant figure out how to instantiate Power-copy using VBA macro. I have a CATPart1, that have Power-copy name "MyPC". And I want to instantiate this power-copy in current Part. Just for example, this Power-copy inputs are: "Plane", "Start_point" and…
0
votes
1 answer

Insert roughness symbol by macro in catia

I know a little about macro in Catia. I want to insert roughness symbol in drawing document by macro. I tried to find out it on internet but I can't. I hope anyone can help me. Thank you very much.
MKB
  • 3
  • 2
0
votes
1 answer

RegServer on CATIA start (without privileges)

We have CATIA R18-R24 available on a network drive, where every designer can start it. The problem is, that the VB.Net COM interface does not know the Type Libraries of the started version. To run the RegServer (to register the tlb for the correct…
Andreas Freitag
  • 357
  • 1
  • 7
  • 20
0
votes
3 answers

How to prevent an OpenGL application from drawing?

How can i prevent an external OpenGL application(no sources available) from drawing like it can be done by GDebugger? The problem is Dassault Catia that opens complex models within five(!) hours because they are rendered while the loading is in…
dajood
  • 3,758
  • 9
  • 46
  • 68
0
votes
1 answer

VB Collection in JavaScript

I've been serching the net for quite some time and maybe there is no solution for my problem but I hoped you might be able to help me. I'm currently trying to establish a connection to CatiaV5 via JavaScript. The connection itsself is working just…
relief.melone
  • 3,042
  • 1
  • 28
  • 57
0
votes
3 answers

Catia title block macro

I am trying to simplify the title block input in Catia V5.21 by reading data from an .xls table and using it to populate the title block (part number, material code, description, revision, date, author etc). I want to do this in a title block that I…
user2882635
  • 133
  • 2
  • 19
0
votes
1 answer

Catia V6 record macro

How can I record a macro in Catia V6? If I use the start recording function from tools, whatever I do the macro is empty (only contains Sub CATMain() End Sub).
Florin Ics
  • 7
  • 1
  • 8
0
votes
1 answer

Design a Part in Catia by clicking an Excel Button

I already wrote some Macros in Catia V5 built in Macro Editor, but i can't figure out how to access Catia commands from Excel. I would like to know how can I create for instance a simple straight cylinder by only having in the excel file cylinder's…
Florin Ics
  • 7
  • 1
  • 8
0
votes
1 answer

catvba, false positive if statement

Unfortunately, sometimes when the if statements are more complex, behavior is quite strange, here is a copy of the line which doesnt work as expected when used like this If someFunction(arg1, arg2, CreatedFromClass(arg3, arg4, arg5)) Then GoTo…
tsolina
  • 141
  • 15
0
votes
2 answers

Read Information displayed in Message Box

I'm working on Catia Automation. The scenario is that whenever a particular licence is not available, a message pops out saying no licences are available and displays a partial list of users using the licence. Is there any way in which the…
0
votes
1 answer

How to get only root level bodies

do you have any suggestion how to select only bodies which are visible and in-root of part? For example i wish to get selected only Lens - Outer Headlamp - LH - Clear and Lens - Outer Headlamp - LH - Black from this structure: I tried Dim objPart…
SilentCry
  • 1,902
  • 3
  • 16
  • 23
0
votes
1 answer

3DXML Catia files not showing

I have installed the 3D XML viewer plugin on my pc and Firefox detected it and I have allowed it. I have added the .3dxml extension as "application/octet-stream" type in the server configuration. I load my file with this code;
MadeInDreams
  • 1,991
  • 5
  • 33
  • 64