Load Ribbon in AutoCAD-2011 using C++/CLI

Load Ribbon in AutoCAD-2011 using C++/CLI

Anonymous
Not applicable
806 Views
1 Reply
Message 1 of 2

Load Ribbon in AutoCAD-2011 using C++/CLI

Anonymous
Not applicable

Hi experts,

 

My code is like:

Autodesk::Windows::RibbonControl ^ribbonControl = Autodesk::Windows::ComponentManager::Ribbon;
//gets the Ribbon Control but does not get Ribbon from ComponentManager
Autodesk::Windows::RibbonTab ^Tab = gcnew Autodesk::Windows::RibbonTab();;

Tab->Title = "My Custom Ribbon Tab";
Tab->Id = "RibbonSample_TAB_ID";
ribbonControl->Tabs->Add(Tab); //does not sets the value of "(ribbonControl)->Tabs"

Anyone knows where is Issue in my code??

Thanks-

0 Likes
807 Views
1 Reply
Reply (1)
Message 2 of 2

Balaji_Ram
Alumni
Alumni

I have replied to your other thread on the same topic :

http://forums.autodesk.com/t5/Autodesk-ObjectARX/Load-Ribbon-in-AutoCAD-2011-using-C-CLI/td-p/389426...



Balaji
Developer Technical Services
Autodesk Developer Network

0 Likes