Button and context menu options on component through GhPython

A post was split to a new topic: Handle/update the checked state of a menu item