Having trouble with WPF sample in 2018 .net devkit? It is reported that dagexplorer command won't reopen a closed window in Maya 2018. This could be fixed with following modification:
Replace
MGlobal.executeCommand($@"catch (`showWindow ""{hostTitle}""`);");
with
MGlobal.executeCommand($@"catch (`workspaceControl -e -visible true ""{hostTitle}""`);");
To make the window showing again.
Comments
You can follow this conversation by subscribing to the comment feed for this post.