Ansys Learning Forum Forums Installation and Licensing Ansys Products [Ansys Rocky] How do I open the other project in Python Shell or Prepost Script? Reply To: [Ansys Rocky] How do I open the other project in Python Shell or Prepost Script?

Jackson Gomes
Ansys Employee

Hi Hiroki Yanagawa.

You need to save your project before execute the script to determine the path of the PrjectFilename, or you can determine the path using .SaveProject('PATH')

You can find more information about prepost scripting on HELP MENU | MANUALS | Prepost Scripting manual. You can also download and debug some Ready to use scripts, accessing HELP MENU|READY-TO-USE-SCRIPTS| Download scripts.

Best Regards