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
1
vote
2 answers

How to delete some components of Solidworks assembly model imported from CATIA

I imported an airplane model (.CATProduct) to Solidworks. Now I want to delete some unnecessary components from the model. However, even if I right-click the model, I cannot find a delete button. How can I delete a component?
Ogiad
  • 139
  • 1
  • 11
1
vote
1 answer

Catia sketch constraints using python

I am trying to draw a sketch on CATIA V5 from Python. I use Catia macros made in VB. But an error persists. I can't constrain the sketch. Here is my code, and the error I got: from win32com.client import constants, Dispatch import math as m #…
user16222582
1
vote
1 answer

Enable or disable button based on multiple conditions

I have a userform. I want the OK button to be enabled only if the user selects CHECK mark, picks OPTIONA or OPTIONB and the TEXT button is clicked. Userform I tried this code but OK button activates if I do any one operation. Option…
user228502
  • 25
  • 7
1
vote
0 answers

c# CATIA Create products and parts

I'm want to create GUI app in winforms c# that can create a product and parts in Catia v5. (by click on button for example) Where can I read about this or maybe someone has a code?
Mark Kovak
  • 23
  • 6
1
vote
1 answer

VBA Publication in CATIA

How do I do a publication on a part? I used the following code and either get the "The Method CreateReferenceFromName Failed" or "This object doesn't support this property or method" error in return. Set partDocument1 = CATIA.ActiveDocument Set…
aaron
  • 81
  • 1
  • 10
1
vote
1 answer

Accessing User Defined Properties in CATIA using VBA code

I'm looking to access user added properties using code similar to properties that the program auto-generates and using the .selection command to make it work. The code to access the computer properties…
aaron
  • 81
  • 1
  • 10
1
vote
0 answers

How to convert Siemens (.JT) or CGR File into GLFT/GLB with ASPOSE?

I am quite new to THREE.js, working on LAN based application to make .JT files view-able to users without any additional license. I have some how managed to convert .JT into .WRL using catia, but it has file sizelimit. so again i converted it into…
1
vote
2 answers

How do I import a STL file to a geometrical set?

I want to automatically insert some STL objects to a geometrical set. Without a macro I open “STL Rapid Prototyping” and use “STL import”. I am trying to do several adjustments faster by automation and therefore I need to avoid this manual step. I…
Christina
  • 13
  • 4
1
vote
0 answers

How to enable run-time type information in Catia CAA?

While developing a plug-in for Catia using the CAA C++-Interface, I need to do a dynamic_cast: DerivedClass *derived = dynamic_cast<*derived>(base); When Build with mkmk, the compiler gives the warning: [MkMk] warning C4541: 'dynamic_cast' used on…
Dragoner
  • 123
  • 1
  • 12
1
vote
1 answer

Select Folder using SHBrowseForFolderA does not work on windows 10 platform

I have a vba7 macro which use a folder select box base on windows api. This code use SHBrowseForFolderA, SendMessageA, SHGetPathFromIDListA APIs Upto now this code run perfectly on Windows 7 x64 platform. This code crash when I run it on win 10 x64…
h.sabatou
  • 31
  • 3
1
vote
1 answer

Macro for unlocking Views in Catia not working

I'm trying to create macro for Catia V5 that will automaticly unlock all views and update them. Macro updates all the views(when they are unlocked). Problem is it only unlocks views on sheet that i was currently at before running macro and then it…
user11397474
1
vote
1 answer

Can we use only initialstate and null state in Buildgraph method of caa?

Can we use only initialstate and null state?If yes,how will it behave?
usmanharoon
  • 173
  • 2
  • 13
1
vote
1 answer

CATIA-CAA CATKeyboardEvent

I know there are only a few CAA Programmers in the world but I try it anyway... I can't get keyboard events to work. I found this code which looks reasonable but the Notification doesn't…
Alexander Stolz
  • 7,454
  • 12
  • 57
  • 64
1
vote
2 answers

I am getting a Compile time error ,Windows module is not valid type (VBA,Macros).(CATIA V5)

I am learning VBA with CATIA scripting(macros). My code looks like this Sub CATMain() Dim oPart1 As Document Set oPart1 = CATIA.ActiveDocument Dim currentWindow As Windows 'I am getting an error here Set currentWindow = CATIA.Windows Dim…
Juliet.K
  • 95
  • 11
1
vote
1 answer

CATScript - Text, Lines and Frames in Black

The code is as below (CATScript): Sub CATMain() ' enter sheet background Set oView = oDrawingDocument.DrawingRoot.ActiveSheet.Views.Item("Background View") oView.Activate ' select all views in current screen Set oSelection =…
Sid
  • 21
  • 7