- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi TF360,
I tried recently to use some Addin(s) I have written in the ERA of OLD interface.
To no avail…
I have searched (only) a little bit through the code, but I could not find the problem.
The next move was to look at F360 documentation, particularly related to the recent change of UI (toolbars).
I have found the relaxing statement there:
Although the commands are organized differently, the commands themselves are not changed by the toolbar update
The following step was to run F360 supplied script allowing to spool the entire user interface command set.
(http://help.autodesk.com/cloudhelp/ENU/Fusion-360-API/files/WriteUserInterfaceToFile_Sample.htm)
It has produced this result:
#---------------------------------------------------------------------------------------------------
Failed:
Traceback (most recent call last):
File "D:/Fusion360/API/Scripts/SpoolControls/SpoolControls.py", line 50, in run
msg = ' ' + workspace.id + ' (' + str(workspace.toolbarPanels.count) + ')____\n'
File "…/Autodesk/webdeploy/production/…dd09c95/Api/Python/packages\adsk\core.py", line 13624, in _get_count
return _core.ToolbarPanels__get_count(self)
RuntimeError: 2 : InternalValidationError : tb
The above exception was the direct cause of the following exception:
SystemError: <built-in function delete_Workspaces> returned a result with an error set
#---------------------------------------------------------------------------------------------------
Could you please check/clarify the problem?
Are there any changes/refinements necessary to OLD ADDIN SCRIPTS?
Regards
MichaelT
Solved! Go to Solution.