Just move you're code to external application (.exe). Probably best way would be to use Visual Studion Express or any free IDE. This means that you would need to recreate the forms, but you should be able to convert relatively easy the code. In this way you could protect the code you make and...
I am little bit confused as I don't see the application of such a code.
I would say that maybe you could create a detail and inside you could create whatever you wantcomputing the points of lines using some basic algebra.
You would be able to move the details as you need in the ned.
I have learned it the hard way on my own with help mainly on this forum. If I would have to do it again then first I would probably buy Emmett Ross book "VB Scripting for CATIA V5: How to program CATIA macros (English Edition). It is cheap but very basic. Then I would continue with Dieter...
From my experience, the answer to your first question is no. I found it to be really strange as drawing will never fit perfectly in window in case one view frame is outside thedrawing area.
The answer to your second second is that there is somewhere a XML file where you could pre define all...
I would have expected to use:
Catia.RefreshDisplay = False
Catia.DisplayFileAlerts = False
to improve the speed of the code but I don't understand why it is not working from vb.net.
Any idea?
Tesak, this was the first thing to try for me but unfortunately for Circle2D it creates the points on almost complete the circle, not only for my arc. It ignore somehow that my curve is only arc and somehow it takes the curve as full circle.