FEM: solver frame work, get rid of Active Document code

This commit is contained in:
Bernd Hahnebach
2020-03-14 21:32:16 +01:00
parent 4df9ddc48e
commit 1c822dcf6e
6 changed files with 6 additions and 6 deletions

View File

@@ -81,7 +81,7 @@ class FemInputWriter():
"Error: FemInputWriter has no working_dir --> "
"we are going to make a temporary one!\n"
)
self.dir_name = FreeCAD.ActiveDocument.TransientDir.replace(
self.dir_name = self.document.TransientDir.replace(
"\\", "/"
) + "/FemAnl_" + analysis_obj.Uid[-4:]
if not os.path.isdir(self.dir_name):