I want to Add a custom ribbon on AutoCAD-2011 Ribbon using Object ARX C++.
And also I wants to use similar API of "Autodesk.AutoCAD.ApplicationServices" in C++ instead of .Net API
How can I do??
This answers your query :
You can load a CUIX file via the acedLoadPartialMenu function. In ObjectARX 2012 this function is declared in aced.h. The declaration isn't there in ObjectARX 2011 but the export is actually provided by acad.lib and acad.exe. You'll just need to declare the function yourself:
/* Loads a partial menu file.
* Returns true if partial menu is successfully loaded.
bool acedLoadPartialMenu(const TCHAR* pszMenuFile);
I haven't tested this in AutoCAD 2011 but I know it does work in 2014.
There is also an acedUnloadPartialMenu function you might find useful:
/* Unloads a partial menu file.
* Returns true if partial menu is successfully unloaded.
bool acedUnloadPartialMenu(const TCHAR* pszMenuFile);
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!