Ansys Learning Forum Forums Discuss Simulation General Mechanical Importing a Ansys model into PyMechanical Reply To: Importing a Ansys model into PyMechanical

cardiac.scripter
Subscriber

Thank you Erik!

Here it is for anyone else:

# Import the model
mimp=Model.GeometryImportGroup.AddModelImport()
mimp.ModelImportSourceFilePath=input_file
mimp.Import()