Adding Combox to the toolbar

Adding Combox to the toolbar

Anonymous
Not applicable
563 Views
3 Replies
Message 1 of 4

Adding Combox to the toolbar

Anonymous
Not applicable

Hi Everybody,

 

I'm actually trying to build an add-in with a personalized ribbon.

To improve the Kilometers run by the mouse I'm trying to add a Combobox to the toolbar for a specific RibbonTab (like the Combobox in the following image).

 

Captureautodesk.PNG

 

Do you know if this is currently possible in Revit API 2017 or later ?

Or does somebody have a trick to build something like that ?

 

Thanks,

0 Likes
Accepted solutions (1)
564 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk
Accepted solution

Sorry, I do not believe this is easily possible and am not aware of any such trick.

 

Of course the Windows API will allow you to do anything you want, in theory, but it might be hard to integrate with existing Revit functionality and not break anything.

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 4

Anonymous
Not applicable

I expected that answer ...

 

I don't want to fight against Revit so I decided to solve the problem with a Windows Form.

Looks uglier at the beginning but after some days of use, it does the job.

 

Thanks Anyway Jeremy,

0 Likes
Message 4 of 4

Revitalizer
Advisor
Advisor

Hi,

 

you could add an Autodesk.Revit.UI.ComboBox to your ribbon menu, no need to use a Windows.Form.

There is a sample called "Ribbon" in the SDK.

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes