FEM: unit test, get rid of ActiveDocument

This commit is contained in:
Bernd Hahnebach
2020-03-17 21:39:32 +01:00
parent ecafc3da6c
commit 565bdbbb3e

View File

@@ -222,7 +222,7 @@ def compare_stats(
loc_stat_types = stat_types
# get stats from result obj which should be compared
obj = FreeCAD.ActiveDocument.getObject(res_obj_name)
obj = fea.analysis.Document.getObject(res_obj_name)
# fcc_print(obj)
if obj:
# fcc_print(obj.Name)