![]() ![]() Return (IAlibreAddOn) AlibreAddOnInterface Public static IAlibreAddOn GetAddOnInterface() Public static void AddOnLoad(IntPtr hwnd, IAutomationHook pAutomationHook, IntPtr unused)ĪlibreRoot = (IADRoot) pAutomationHook.Root ĪlibreAddOnInterface = new DataBrowserForAlibreImpl(alibreRoot, parentWinHandle) Private static DataBrowserForAlibreImpl AlibreAddOnInterface adc file requires an undocumented change. The first thing I found is that the AlibreDesignAddOn. Trawling through the Alibre code, I discovered that it is possible to write an Add-On using C# but that there are a couple of prerequisites. Lucky for me, I have a licence for Jetbrains DotPeek whicth includes a decompiler allowing me to peek into the Alibre Code (which appears to be written in C#) to see how things are done internally. I'm not particularly experienced with C# - but it is a lot closer to Java - where I have 20+ years experience developing desktop applications for manufacturing. The first challenge I faced was that the Add-On introduction only references C++ code for the all important AlibreAddOn class. My starting point was to look over the AlibreX documentation. There is quite a lot missing from the AlibreX documentation with respect to Add On development and the absence of worked examples makes life quite difficult! The first thing I should note is that what I have been working on is just for my own interest - but very happy to share with others. ![]() I thought it might be helpful to share some of my experience. I've lately been experimenting with writing an Add On for Alibre V24. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |