Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

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

CATIA C# Dlls instead of C++ CAA

Status
Not open for further replies.

Ramzi_CAD

Computer
Joined
Aug 10, 2023
Messages
5
Location
TN
Hello,

I wanted to discuss the utilization of C# DLLs as an alternative to the CAA C++ approach for incorporating new functionalities into CATIA.
Is it possible to expose all the necessary interfaces to the C# DLLs? I need specially Electrical Harness Installation interfaces (EhiBundleSegment, EhiBranchable etc...)
I want to do it as already existing interop dlls like INFITF, ProductStructureTypeLib please (see attached picture).

I've CATIA and CAA licences


Your insights and guidance on this matter would be greatly appreciated.
Looking forward to your response.
Thanks in advance.
 
 https://files.engineering.com/getfile.aspx?folder=5367f5fc-348d-49ff-9480-a4cd62149c8f&file=Dlls.png
Possible by writing your own COM wrappers as described in CAA Encyclopedia in "Middleware" section.
 
Thanks for your answer, I saw it.
refering to necyclopedia we can expose inteface as Visual Basic, VB Script, JScript, and Basic Script but it is not available for C#.
Is it possible to do it in C#?
 
You build .tlb that can be referenced with Visual Studio generating interop .dll, or you can do it manually by calling tlbexp.exe
 
Ok, it's clear, thanks for your answer.

I've checked C++/Java Home > Middleware > Object Modeler tab > Creating Interfaces for Automation technical documentation
And still not very clear,
Do you have a littel example that I can follow please.
Can I follow this example to create interface: InstallRootDirectory\CAASystem.edu\CAASysGeoModelInf.m
Thanks in advance,
 
Ok,
Thank you very much for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top