FEM: in out, add missing returns of document objects
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user