Hey all
I’m trying to add a checkable button to the custom MotionBuilder menu via Python (like the ones in this image “Layout > Auto-update Layout” option)
I am able to add simple buttons and sub-menus via this:
menu_manager = FBMenuManager()
if not menu_manager.GetMenu("&Custom"):
# Main Custom Menu
menu_manager.InsertAfter(None, '&Help', "&Custom")
edit_menu = menu_manager.GetMenu( "&Custom" )
menu_item = edit_menu.InsertLast("new item", 2)
But does anyone know how to add a checkable menu button?