Update Ribbon UI. Note that the menu callback functions should be updated manually.
(self)
| 107 | |
| 108 | |
| 109 | def update(self): |
| 110 | '''Update Ribbon UI. Note that the menu callback functions should be updated manually.''' |
| 111 | # update addin with customized ui file |
| 112 | logging.info('(1/1) Updating ribbon structures...') |
| 113 | custom_ui = os.path.join(self.path, CUSTOM_UI) |
| 114 | ui = UI(self.xlam_file) |
| 115 | ui.update(custom_ui) |