Message 1 of 4

Not applicable
11-26-2019
12:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In the CAM samples it is shown how to switch to the CAM Environment. This works great.
I'm setting up an Add-In for production and trying to make it as easy as possible for the users.
The add-in makes some changes in DESIGN, then jumps over to CAM where it updates and posts the toolpaths.
This all works great, however when I try a similar approach to switch Back to the DESIGN environment after all that is done, Fusion crashes...
Mind you if I make a small add-in that only makes that switch Fusion doesn't crash... What could I be doing to cause this, or is it more likely a bug?
This is what I'm doing to try and go back to DESIGN:
activateDESIGNWorkspace = _ui.messageBox('Activate the DESIGN Workspace?','DESIGN Workspace Activate', adsk.core.MessageBoxButtonTypes.YesNoButtonType, adsk.core.MessageBoxIconTypes.QuestionIconType)
if activateDESIGNWorkspace == adsk.core.DialogResults.DialogYes: designWorkspace = _ui.workspaces.itemById("FusionSolidEnvironment") designWorkspace.activate()
Solved! Go to Solution.