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

Is it possible to insert the largest sphere possible inside of a selected model in CATIAV5 via a VBA macro?

I am very new to CATIA V5,and by that i mean that i have no idea on how this program actually works. I've been asked if i could make a macro for CATIA. I would like to know if it is possible to write a VBA macro that when executed it will insert the…
Gonçalo
  • 45
  • 8
0
votes
1 answer

CATIA File Open optimization

A few thousand IGES files take a considerable amount of time to open / import into CATIA. I would like to understand which are the ways to optimize this use-case. CATIA V5 has the option to import various file formats, like IGS, through File ->…
M S
  • 3
  • 2
0
votes
1 answer

Running a macro (with arguments) in CATIA V5 from Python

Although this solution (Run a Catia macro with a python script) works well for macros that runs without arguments, my problem starts at the moment I need to pass something from python to the vba macro in CATIA. Currently my test macro in CATIA looks…
arielkoo
  • 1
  • 2
0
votes
0 answers

CATIA V5 - VBA - Get Information of Axis System (position & rotation)

I want to get the information of axis systems inside multiple parts inside an assembly (recursive search). A part can have several axis systems, also in these geometric sets. It is necessary to have the positioning of the systems of axes compared to…
Rom1_ C.
  • 1
  • 1
0
votes
0 answers

How to modify reference value (driven and driving mode) for the constant dimension in sketch by catia VBA

I would like to change reference value (driven or driving mode) for constraint dimension in sketch by vba catia. Usually, we want to change reference value two method without automatic: Double click constrains dimension. Click right mouse and…
Bảo Nhi
  • 13
  • 3
0
votes
1 answer

How to use translate function in CATIA V5

I am studying CATIA VBA. The version is V5. I wrote the following code based on the book and help, but it gives me an error. Sub CATMain() Dim oViewer3D As Viewer3D Dim translationVector(2) As…
Kflower
  • 11
  • 5
0
votes
0 answers

CATIA VBA Setting NCMfgOutput

How can i change settings of Machining ? I can access to some settings but not to 'NCMfgOutput'. Any ideas? Sample what i'm able to do in VBA : `Sub CATMain() Dim mySetting As SettingController Set mySetting =…
Disvoys
  • 61
  • 1
  • 7
0
votes
0 answers

Userform with listbox

I have a Userform in CATIA Macros that includes a listbox. The listbox contains calculated data, and these calculations are updated when the user clicks the "preview" button. However, if the user changes the input data and clicks the button again,…
Salome
  • 1
  • 2
0
votes
0 answers

Userform Listbox

I have a problem in Catia macros. So, I have my "user form" and "list box". By clicking the button "preview" in the list filled with specific numbers. After the first click, everything is okay but after the second and all the next clicks, I have an…
Salome
  • 1
  • 2
0
votes
0 answers

Controlling the orientation of Fill Surface Definition CATIA V5

I'm using a power copy with a fill surface to create surfaces from lines. However, the resultant surface has varying orientations which is affecting the rest of my model. It seems the only thing that has randomly changed is the orientation of the…
0
votes
1 answer

Split line start and end point coordinates

I'm using "AddNewHybridSplit" function between Pad and Line (picture below) and I want to find the split line (with green color on screen) start and end points to create a new line "AddNewLinePtPt". how can I do it? I tried intersection but this…
Salome
  • 1
  • 2
0
votes
0 answers

Intersection points Coordinates

I have a problem. in my task, I have Pad and Line which intersect each other. I have 2 intersection points and I want to get coordinates, or something identification because I want to create a line between these points. After the first action, my…
Salome
  • 1
  • 2
0
votes
1 answer

how do I export a part as a .stp in CATIA 3DExperience Macro

How can I use a VBA macro in the 3DExperience to save a part as a step file? I have found references in the documentation to the ExportData method, which requires it to be referred to a document, but I cannot figure out how to get the current active…
drypatrick
  • 437
  • 1
  • 4
  • 17
0
votes
0 answers

WPF changes the Resolution and scaling of the owner window

I am currently creating a class library using C#. This library will be referenced using VBA in a win32 application CATIA. In the C# Solution, I have also a WPF project. Whenever I am calling a WPF UI in the class library, the scaling and resolution…
Myth3791
  • 1
  • 2
0
votes
1 answer

How to convert a .CATDrawing file to .pdf

I want to convert a CATIA V5 file to a pdf file using vc++. How can I convert this. Am I use any third party software or dlls in my application for this operation. I am not familiar with CATIA.
Nelson T Joseph
  • 2,683
  • 8
  • 39
  • 56