Closed coconutLatte closed 6 months ago
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.
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
@dipinknair
Thanks!!! It really help me a lot!
Description of the modifications
VERSION: Ansys 2023R1
Hi there I'm a software engineer now focus on developing some applications that using mechanical ability without GUI. I notice that there has a way call remote session and I'm already find a way to connect the grpc server launched by mechanical, but I don't know how to execute the run_python_script interface. I will show what I've done below:
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 references
No response