.NET

Reply
Contributor
vasantpadhiyar71
Posts: 23
Registered: ‎05-25-2012
Message 1 of 2 (184 Views)

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

184 Views, 1 Replies
04-26-2013 06:06 AM

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-

Vasant PADHIYAR
ADN Support Specialist
Balaji_Ram
Posts: 735
Registered: ‎03-21-2011
Message 2 of 2 (121 Views)

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

05-02-2013 05:32 AM in reply to: vasantpadhiyar71

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!