How to use custom right menu then go back to initial right menu #216
Answered
by
Brunner246
Antoine-S-C
asked this question in
Q&A
-
|
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
Brunner246
Oct 9, 2024
Replies: 2 comments 4 replies
-
|
Hey Antoine, menu_items = ['1st button text',
'2nd button text',
'',
'Return']
selected_menu_item = menu_controller.display_simple_menu(menu_items) |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
https://docs.cadwork.com/projects/cwapi3dpython/en/latest/examples/menu_example/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi @Antoine-S-C
From where are you running your code ? Do not run the menu_controller from the Python IDLE. Run it as a plugin from
userprofil_30\3d\API.x64\yourPluginWhat dou you mean with Shouldn't we add the "display_default_menu()" function in menu_controller library? There is no
display_default_menumenu_controller
please post your code