Hello Everyone
I have read that memory leak when running scripts in Catia is a "feature", but until now I didn't realize that it leaks like a sieve. Or maybe I'm doing something wrong.
I wrote a simple script to test this:
Sub CATMain()
Dim oDocument As PartDocument
Dim oPoint As...
Hi,
My suggestion is to start with VBA code then rewrite it in VB.net.
Could you share with us what you have written by now?
1) Use AddNewPointOnCurveFromDistance or AddNewPointOnCurveFromPercent from HybridShapeFactory
2) To mesaure distance use SPA Workbench.
Regards
Peter
Hi Ferdo
Thanks for reply. I have read this thread but i still didnt find answer for my problem.
This is example of my tree:
Geo Set
|
|--Object
...|
...|--SubElement1
...|--SubElement2
......|
......|--SubElement3
......|--SubElement4
My VBA script crating a lot of these Object elements and...
Hello Everyone!
I encounter strange thing which i dont fully understand.
I have vba script which generate a lot of geometry in a loop. In each loop I create 2 to 5 support lines/planes etc and one final result. When I'm appending this final result to tree script finishes almost 50% faster than...