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 change orientation of sketch in CATIA using VB/Knowledgeware?

I am trying to create a knowledge template, such that when I choose a string value from a dropdown list of a multiple value parameter, the reaction fires according to the selection. For example, if I select "no cut", no pocket features are created.…
Mhan7
  • 1
  • 3
0
votes
2 answers

How to use own created Automation Interface for CATIA V5 with Python?

I created own Automation Interface for CATIA V5. My interface implements one CAA interface. Here is the example implementation of SetComment method. CAAInterface is a fake name // MyXYZClass : SetComment HRESULT MyXYZClass::SetComment(…
LaTB
  • 1
  • 5
0
votes
1 answer

Python script/macro on Catia v5 toolbar

I am learning python language and i would like to learn something about writing a script for CAD programs. But i do not know one thing and didn`t finded any information how put my script/macro on catia toolbar. There is no problem with VBA macros…
J.Cleese
  • 25
  • 1
  • 6
0
votes
1 answer

How to convert files from Catia v5 into Babylon.js format?

I have a supplier using WebGL to create a 3D application for me. He requested the data in Babylon.js format. However, I only have the data in Catia v5 format. Which version should I provide the data in to allow for a conversion to Babylon? And,…
Sulty
  • 1
0
votes
3 answers

use excel formulas through VBA in CATIA

I need your help in using CATIA correctly. I'm currently tasked with creating a "support" Part for a Mould where a capscrew must be inserted (regardless of its length) a maximum of 15mm. The length of the inserted capscrew depends on a plate that is…
Castella
  • 3
  • 1
  • 7
0
votes
1 answer

Catvba gui references wrong dll version

I have a computer that has multiple releases of catia v5 installed (different customers require the work done in different releases), we recently installed r26 and now the r19 catvba editor uses the r26 dlls, (which are not totally compatible and…
tink
  • 11
  • 5
0
votes
1 answer

Point Renaming & coordination using CATVBA

I have developed a piece of CATVBA code to rename and coordinate points under a geometric set. Here the problem is, i can able to rename the points but the coordination is not working. I am able to get the coordinate value of each points under…
Abdul
  • 11
  • 1
  • 4
0
votes
2 answers

CATIA V5 - dump General/Document CATSettings to catvbs

In CATIAV5 R26, I'm trying to dump the CATSettings related to the General --> Document tab to catvbs. Consider that this should be a first step towards my final objective: fully automate settings with macros, as it is suggested in the official docs…
Federico Destefanis
  • 968
  • 1
  • 16
  • 27
0
votes
0 answers

CATIA GetBoundary(ref iLabel) What value should iRabel parameter enter?

What value should iRabel parameter enter? Error message: The call to the COM component returned the error HRESULT E_FAIL.
0
votes
1 answer

Cannot convert .CATPart file. Error: Input file-path seems to have unsupported characters

I am using a library called "spatial" for converting CAD files from one format to another. The sample code provided by spatial for conversion seems to convert all other files except .CATPart and .CATProduct file format of CATIAV5. Below sample code…
0
votes
0 answers

Reading a string and it's value from a binary file in c#

I have a binary file with a file extension of CATPart. This in essence is a native Catia file format. I was trying to extract the version of Catia from which the CATPart is associated with. Now looking at the CatPart file in notepad++ there are many…
David Egan
  • 424
  • 2
  • 8
  • 23
0
votes
2 answers

How do CAD programs display parametric models?

Softwares like Catia, SolidWorks or the like all can visualize complex models while designing. Exporting such models to raster triangle meshes yields huge files that later need to be greatly simplified to be imported into 3D engines like Unreal…
Dean
  • 6,610
  • 6
  • 40
  • 90
0
votes
1 answer

Band analysis in catia

I need code for measuring distance between 2 products im catia using VBA. I dont want to use groups to measure. I want to use distance.firstproduct and distance.secondproduct in the code instead of using distance.firstgroup. Can some one help me…
0
votes
1 answer

How to overcome CATIA.FileSelectionBox() error without setting "regserver option" as administrator?

The following code runs well if I have administrator permissions. But it doesn't work at all for a user. Sub CATMain() On Error Resume Next Dim strpath As String strpath = CATIA.FileSelectionBox("Select file", "*.xlsx",…
Seba Sain
  • 1
  • 3
0
votes
1 answer

CATIA-VBA error: Function or interface marked restricted ... automation type not supported in Visual Basic

I've recorded a line creation in a VBA macro file, and it generated the following code: Sub CATMain() Dim partDocument1 As PartDocument Set partDocument1 = CATIA.ActiveDocument Dim part1 As Part Set part1 = partDocument1.Part Dim…
doshin
  • 13
  • 5