The run_python_script content after connecting Remote session #648
-
Description of the modificationsVERSION: Ansys 2023R1 Hi there
Turns out the script records cannot used by the remote session mechanical instance run_python_script. Is there any docs that I could get to learn how to fulfill the run_python_script content for my simulation. Or how the python script recorded by GUI can be used in PyMechanical in any way? my python script calling remote session like below:
Useful links and referencesNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
HI @coconutLatte Mechanical scripts works in remote session without any issues. If you are facing any issues when you are recording the scripts from Mechanical and trying to use the same directly with remote session of pymechanical, then it might be possible you are missing something in mechanical scripts. Can you please do this below.
if you need any help with Mechanical scripting, Please have a look at here - scripting guide and also you can ask you scripting related questions here |
Beta Was this translation helpful? Give feedback.
-
@dipinknair |
Beta Was this translation helpful? Give feedback.
HI @coconutLatte
If you are looking for the docs that uses run_python_script,then please find them under "remote examples" https://examples.mechanical.docs.pyansys.com/index.html
Mechanical scripts works in remote session without any issues. If you are facing any issues when you are recording the scripts from Mechanical and trying to use the same directly with remote session of pymechanical, then it might be possible you are missing something in mechanical scripts. Can you please do this below.