Is it possible to nest popup buttons on context menu?

Is it possible to nest popup buttons on context menu?

Anonymous
Not applicable
1,072 Views
4 Replies
Message 1 of 5

Is it possible to nest popup buttons on context menu?

Anonymous
Not applicable

Can I create popup button control underneath another poup button control?

 

I can do this with .net controls, but I can't seem to get this to work with Inventor.  Whenever I try to add a commandbar to another commandbar.Controls I get an Invalid Parameter error.

 

Nested Menu.png



Here is what I am referring to. I would like to be able to add a menu below a menu.

Nested Menu 0.png

0 Likes
Accepted solutions (1)
1,073 Views
4 Replies
Replies (4)
Message 2 of 5

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

In theory, I think  LinearMenu.AddButtonPopup or  LinearMenu.AddPopup should work, however they both failed at my side. I am digging if I could figure it out.

Message 3 of 5

Anonymous
Not applicable

Have you been able to figure this out yet?

0 Likes
Message 4 of 5

Anonymous
Not applicable
Accepted solution

In case anyone has this question, I received word via ADN that this is not possible.

0 Likes
Message 5 of 5

woodstylee3
Advocate
Advocate

Is this still an issue with Inventor 2016, 2017 & 2018 API?

 

I used code which added a command bar as a popup menu to the context menu in Inventor 2012, however as I am upgrading our in house applications to Inventor 2016, I am finding I cannot replicate this functionality in the Linear Marking Menu?

 

Many Thanks

0 Likes