I am using Mechanical scripting and would like to get the path to the solver directory for a given analysis. I want to know the location that is opened if I right click on the analysis branch and click 'Open Solver Files Directory".
For demo purposes let's get the working directory for the first analysis:
first_analysis = ExtAPI.DataModel.Project.Model.Analyses
solver_directory = first_analysis.WorkingDir
Note: During solution the solver directory will change to a temporary directory.
@Landon Mitchell Kanner, perfect! Thank you for this snippet. And also for refering this forum to me :)