Where to find the names of the workspaces in Fusion 360???

Where to find the names of the workspaces in Fusion 360???

nate_webers
Participant Participant
2,076 Views
2 Replies
Message 1 of 3

Where to find the names of the workspaces in Fusion 360???

nate_webers
Participant
Participant

Where in the documtation of the Fusion 360 API is the list of names for the various workspaces?  For example, there is the 'FusionSolidEnvironment' (shown in various coding examples), which gets you the modeling workspace, but what if I wanted the CAM workspace instead?  I'm sure that it has a different name that I need to put into the "itemById" command, but I don't know what the name is.

0 Likes
Accepted solutions (1)
2,077 Views
2 Replies
Replies (2)
Message 2 of 3

ekinsb
Alumni
Alumni
Accepted solution

The names aren't documented anywhere.  I'm always hesitant to formerly document things like this because it can easily become out of date as the workspaces change.  It will also be possible in the future for developers to add their own workspaces so then it's not possible to us to provide an accurate list.  What I prefer to do instead for things like this is to provide a small program that will generate an up to date list.  One of the sample programs that's part of the Fusion API help (http://help.autodesk.com/cloudhelp/ENU/Fusion-360-API/files/WriteUserInterfaceToFile_Sample.htm) can be used to generate a file that contains a list of all toolbars and menus in Fusion and the controls within them.  It also includes a list of all of the workspaces, towards the bottom of the file it creates. 


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 3 of 3

nate_webers
Participant
Participant

Thanks Brian.

 

The script is helpful and got me the answer that I needed.

 

For others who are viewing this thread, here is a proper link to the script: http://help.autodesk.com/cloudhelp/ENU/Fusion-360-​API/files/WriteUserInterfaceToFile_Sample.htm  (the one Brian included somehow captured the ending paren as part of the hyperlink, making the link invalid).

0 Likes