Is it possible to make a PulldownButton within a PulldownButton ?

Is it possible to make a PulldownButton within a PulldownButton ?

dante.van.wettum
Advocate Advocate
1,489 Views
3 Replies
Message 1 of 4

Is it possible to make a PulldownButton within a PulldownButton ?

dante.van.wettum
Advocate
Advocate

In the ribbon i want to add a PulldownButton with several children as pushbuttons.

now i want to add some sub-children to one of those push-buttons so i was thinking of making a PulldownButton within the current PulldownButton.

it seems that the PulldownButton only accepts adding pushbutton ?

is there some way of making this ?

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

j.buijs
Enthusiast
Enthusiast

Unfortunately it seems this is not possible.

I tried doing it with the use of AdWindows.dll and I succeeded in adding it, but it just adds a button to it that does nothing. The dropdown list doesn't get added so it's useless.

I created a new PullDownButton next to my original splitbutton with the same items in it.

Then I added a clone of itself and my original splitbutton to it, but both didn't work out.

See attachment. You'll see the 2 new buttons at the bottom, but there is no pulldown list when I click them.

0 Likes
Message 3 of 4

jeremytammik
Autodesk
Autodesk

Dear Dante,

 

Thank you for your query, and thanks to Jan for his research and answer.

 

The ADN Xtra Labs 2_Revit_UI_API material covers just about all the user interface functionality that can be achieved using the Revit API:

 

https://github.com/jeremytammik/AdnRevitApiLabsXtra

 

I hope this helps.

 

Best regards,

 

Jeremy

 



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

0 Likes
Message 4 of 4

Revitalizer
Advisor
Advisor
Accepted solution

Hi,

 

I've added a suggestion in the Revit Idea Station, citing this thread.

https://forums.autodesk.com/t5/revit-ideas/revit-api-nested-pulldownbuttons/idi-p/8947918

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes