![]() ![]() Result += ' toolbarPanels not available\n' Result += ' toolbarPanel name: ' + tb.name + ', id: ' + tb.id + '\n' Result += 'workspace name: ' + ws.name + ', id: ' + ws.id + '\n' You can easily find the list of all workspaces and toolbarPanels available using a simple python script like this: def listUIParts():įileDialog.title = "Select file to save the information to" ToolbarPanel_ = toolbarPanels_.itemById('SketchCreatePanel') # if it fails, try to add it to the new ui item ToolbarControlsPanel_ = toolbarPanel_.controls ToolbarPanel_ = toolbarPanels_.itemById('SketchPanel') ToolbarPanels_ = modelingWorkspace_.toolbarPanels In order to make your add-in work in this new environment, you should make sure that if the classic UI item is not available then you try using the new UI item instead: modelingWorkspace_ = workspaces_.itemById('FusionSolidEnvironment') ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |