ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
vasantpadhiyar71
971 Views, 2 Replies

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

Hello 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-

Vasant PADHIYAR
Tags (2)
2 REPLIES 2
Message 2 of 3

Hi Vasant,

 

I have attached a sample project that my colleague Philippe Leefsma had created for accessing the ribbon via C++/CLI.

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Message 3 of 3

Hi Balaji,

 

Thanks a lot for your reply..

This will help me a lot...

 

Thanks-

Vasant PADHIYAR

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost