Hello,
I made an automation that work fine on Windows 10.
When I put it on Windows 7 or Windows 2012. (they both have framework higher that 4.5.2 installed)
I get the following exception when doing Marshal.GetActiveObject("CATIA.Application");
Exception:
Unhandled Exception...
Hello,
The I need to call "Delete Useless Elements" command in Catia.
From CAA, I could call it with CATAfrStartCommand.
But how to click the “OK” button on the dialog that appear?
Tks,
Talou;
Hello,
I build a Catia command in CAA.
In the CAA code, I reorganize the Geometrical Set. (that work fine)
The I need to call Delete Useless Elements. I could call the Catia command “Delete Useless Elements” with CATAfrStartCommand. But I didn’t know how to click the “OK” button on the...
Hello,
New question, new thread...
I want to launch the command "Delete Useless Elements" which is in the "Part Design" workbench.
In the following pic. We can see that the user selected the Document. However, the active object is a product. Therefore we are on the "Assembly" workbench...
Hello,
I would like to know if the user selected the Part or the Product.
To go around the problem, I cast the object into a Part and if it’s fail I suppose I’m on the Product and I cast to the Product.
I would prefer to find what object I’m on before casting it.
Thank you,
Vincent...
Hello,
I have to do some automation in VBA or VB.Net as there is not CAA API for the commands I want to use.
One of them is "Delete Useless Elements" (in Tools, when you are in the Part Design Workbench)
I found a thread where they speaking about Product reordering in CATIA V5 VBA.
"itsmyjob"...