I am having trouble finding a way to create a ribbon with c# in my plugin.
Solved! Go to Solution.
Solved by norman.yuan. Go to Solution.
In terms of add custom ribbon menu, always try to use CUIX, most likely partial CUIX. Only do it with code when it is really necessary.
If you searched this forum, you would have found quite a few discussions on this topic in the last, such as this one:
https://forums.autodesk.com/t5/net/custom-menu-and-ribbon-with-code/m-p/10511529#M69850
Norman Yuan
Hi, yes I have seen a lot of examples but some of the code isnt working. For example with the link you provided the class RibbonTab can't be found, I can't even get 'using Ribbon.Properties'
I am trying to code with c#.
You need add references to acwindows.dll and adwidnows.dll into your project (C# or VB.NET, no difference) in order to code ribbon stuff.
Norman Yuan
Okay, I am trying to create custom ribbon for my add-in. Regarding your suggestion to use partial cuix loading, I know how to load it manually, but for my add-in, I want custom tab automatically loaded when user install my add-in. Everything must work out of box. Can you give details about this?
Can't find what you're looking for? Ask the community or share your knowledge.