Hi everyone,
I'm trying to create a point in the center of a surface with the use of the AddNewPointOnSurface function. For the moment it doesn't work and I can't find why..
My surface is selected with the SelectElement2 function and this work great (I tried to change its color with...
Hi everyone,
I struggle to create a function that allow to determine whether or not two planes are parallel and on the same level. Bellow I managed to get the angle between the two planes and the idea is to return true or false in fonction of the angle between them. However, I don't know how to...
Hi everyone,
So I create this :
If oBodies.Count > 0 Then
Dim m As Integer
For m = 1 To oBodies.Count
If oBodies.Item(m).Name = sHybridBodyName Then
MsgBox "It appears the geometrical set that this macro creates already exists in the part. Unable to proceed."...
Hi everyone,
I am currently developing procedures and I would like to know if anyone know a site which give description/examples on CATIA classes and librairies ? As I am new to VBA, it is quite difficult for me to understand every functions... even when I use the Record Macro functionalities ...