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

Convert ribbon menus into classic workspace.

2 REPLIES 2
Reply
Message 1 of 3
RamanSBV
352 Views, 2 Replies

Convert ribbon menus into classic workspace.

Hi,

 

 

I have a fully working ribbon in ACAD2012/2013. it is a registered dll that is originally coded in c#.net.

unfortunatley the functionality is only visible at the drafting & annotation workspace but is desperatly needed in classic workspace mode.

I am trying to find a way to display add-in working in classic workspace too.

 

is it possible to extend this exising ribbob to convert into classic menu items ?

if yes, how, or where can i get more detailed information to solve my task.

 

 

Thanks you

 

Regards,

Raman

2 REPLIES 2
Message 2 of 3
Keith.Brown
in reply to: RamanSBV

Hi,

 

Take a look at this blog post.  http://adndevblog.typepad.com/autocad/2014/01/how-to-ensure-your-ribbon-runtime-items-remain-visible....  It might be that you just need to redisplay your ribbon after changing workspaces.

 

 

Message 3 of 3
RamanSBV
in reply to: Keith.Brown

Hi,

 

 

I am managed to create Toolbar with Buttons. It is displaying fine in classic workspace.

 

 

Toolbar newT = new Toolbar("MyTool", newCS.MenuGroup);
ToolbarButton newButton1 = new ToolbarButton("ID_MyTool_Xref", "MyTool Xref", newT, -1);

 

 

Now i want to associate this toolbar button with  the "System.Windows.Input.ICommand" type.

 

Can anybody help me on this....

 

 

Regards,

Raman

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost