Hello,
there is a static structural system that has already been created and solved via a manual Workbench process.
With PyMechanical scripting, I want to open it remotely in an automated way to retrieve several pieces of data from different locations in the tree (e.g. named selections, contacts, geometry) and also result information (e.g. node deformations from all named selections). For this, I want to use mechanical scripts with the mechanical.run_python_script() method.
I can open the .mechdb file via ExtAPI.DataModel.Project.Open(). How can I set the working (result) folder to the existing dp0\SYS-7\MECH folder so that I can access the results with the mechanical scripts, as it is when you open the system from Workbench manually? It currently shows me the result folder dp0\global\MECH\SYS-7_Mech_Files\StaticStructural as the working folder.