FEM: analysis object, move make def into make objects FEM module

This commit is contained in:
Bernd Hahnebach
2017-02-20 17:43:04 +01:00
committed by wmayer
parent cb6c050d14
commit f4bb2a0624
9 changed files with 18 additions and 51 deletions

View File

@@ -71,8 +71,8 @@ def import_z88_disp(filename, analysis=None, result_name_prefix=None):
if(len(m['Nodes']) > 0):
if analysis is None:
analysis_name = os.path.splitext(os.path.basename(filename))[0]
import FemAnalysis
analysis_object = FemAnalysis.makeFemAnalysis('Analysis')
import ObjectsFem
analysis_object = ObjectsFem.makeAnalysis('Analysis')
analysis_object.Label = analysis_name
else:
analysis_object = analysis # see if statement few lines later, if not analysis -> no FemMesh object is created !