Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Talou
  • Content: Threads
  • Order by date
  1. Talou

    Marshal.GetActiveObject("CATIA.Application"); COMException: Invalid class string

    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...
  2. Talou

    How to click the "OK" button ?

    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;
  3. Talou

    How to call an automation executable from CAA ?

    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...
  4. Talou

    How to change Workbech ?

    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...
  5. Talou

    How to know if user selected a Part or a Product ?

    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...
  6. Talou

    Interop.INFITF.dll where is that from?

    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"...

Part and Inventory Search