Hi
Could someone point me please what is wrong with catia libaries , will explain a little more the problem i got below .
So i have couple of CATIA versions installed on my machine : V5 ,3DX . I noticed that either in integrated V5 VBA or when using VS for automation if i have both 3dx and v5...
Hi all ,
Could someone please help how to find using VBA the nearest value between coordinates from array2 .
Example :
array1
X Y
3, 11
array2
X Y
1, 22
2, 10
4, 55
1, 12
In this case to return -> 2,10
Thank you !
Hello everyone !
First of all i want to say thank you for all of your informations and help shared on this site.
I would like to ask for your advise on this matter :
I have dozens of isolated surfaces where each of them has other dozens of assembled surfaces ( please see picture attached )...
Hi all ,
Could someone help me please with achieving following :
I have :
1.subroutine:
-inside code....
then i have 2 new collections inside wich i passed from other subroutine by calling the first one .
The problem is i want to pass this 2 collections to a command button,see picture...
Hello ,
Today i had a very unusual issue at work and do not know how i will solve it tomorrow .
We moved to Catia R27 and today i started to do a drawing, the unusual behaviour is like this : i am bringing a front view of an assembly and after making a projection view bottom , left , right or...
Hello everyone , i am trying to make a simple code to create a hole using (AddNewHoleFromRefPoint).
I used twice "selecetelement2" : once for vertex , second for face and made them references , seems to look fine but code fails on this line: and cannot understand why .
I tried also...
Hello guys , i am trying to get the edges on Y direction and to fillet them , i found some info on other forum and trying to combine but i am getting an eror and do not know how to solve it , please help :
the error is on refEdge.GetDirection dir
Here is the full code :
Sub CATMain()...
Hello guys , i am trying to retrieve the updated constraints from a product and delete them , but no succes.
I am new to VBA so please understand.
I have the following script :
Sub CATMain()
Dim productDocument1 As ProductDocument
Set productDocument1 = CATIA.ActiveDocument
Dim product1...
Hello guys , please help me with a Catia Macro!
So i have to random parts in a product.
What i need is making a sketch in part with L-shape using 2 lateral faces and a support face for the sketch.
The sketch should be a line in construction mode with some points in it.
On the plate i need...