Skip to content

Commit

Permalink
Fixed problem adding panel to ToolsTab on Fusion 360 start-up
Browse files Browse the repository at this point in the history
It has been found that for some installs/computers, "ToolsTab" is not available in UserInterface.allToolbarTabs on Fusion 360 start-up.
  • Loading branch information
trudslev authored and thomasa88 committed Nov 5, 2023
1 parent bc3c8f0 commit c7f332b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ThreadKeeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def run(context):
'Autodesk Fusion 360.app' / 'Contents' / 'Libraries' / 'Applications' /
'Fusion' / 'Fusion' / 'Server' / 'Fusion' / 'Configuration' / 'ThreadData')

tab = ui_.allToolbarTabs.itemById('ToolsTab')
tab = ui_.workspaces.itemById('FusionSolidEnvironment').toolbarTabs.itemById('ToolsTab')
panel_ = tab.toolbarPanels.itemById(PANEL_ID)
if panel_:
panel_.deleteMe()
Expand Down

0 comments on commit c7f332b

Please sign in to comment.