FEM: in out, add missing returns of document objects

This commit is contained in:
Bernd Hahnebach
2019-05-28 06:51:55 +02:00
parent b6c678fd37
commit 47f51a7941
2 changed files with 2 additions and 0 deletions

View File

@@ -126,6 +126,7 @@ def import_z88_mesh(
if femmesh:
mesh_object = FreeCAD.ActiveDocument.addObject('Fem::FemMeshObject', mesh_name)
mesh_object.FemMesh = femmesh
return mesh_object
def read_z88_mesh(

View File

@@ -124,6 +124,7 @@ def import_z88_disp(
FreeCAD.Console.PrintError(
'Problem on Z88 result file import. No nodes found in Z88 result file.\n'
)
return res_obj
def read_z88_disp(