FEM: GMSH mesh obj, switch to FEM WB on double click on obj
This commit is contained in:
parent
437ce69b11
commit
6df6bae9d8
|
@ -63,6 +63,7 @@ class _ViewProviderFemMeshGmsh:
|
||||||
return
|
return
|
||||||
|
|
||||||
def doubleClicked(self, vobj):
|
def doubleClicked(self, vobj):
|
||||||
|
FreeCADGui.activateWorkbench('FemWorkbench')
|
||||||
# Group meshing is only active on active analysis, we should make sure the analysis the mesh belongs too is active
|
# Group meshing is only active on active analysis, we should make sure the analysis the mesh belongs too is active
|
||||||
gui_doc = FreeCADGui.getDocument(vobj.Object.Document)
|
gui_doc = FreeCADGui.getDocument(vobj.Object.Document)
|
||||||
if not gui_doc.getInEdit():
|
if not gui_doc.getInEdit():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user