You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During development phase or for debugging purpose, it is useful to start Workbench server on the developer's desktop or some computer within the company network.
22
22
23
23
One can always start a Workbench server by executing command `StartServer()` in any running Workbench session and use the returned server port to start a client, like in the example above.
@@ -41,7 +41,7 @@ from ansys.workbench.core import launch_workbench
Data files can be uploaded to the server or downloaded from the server, using `upload_file` or `download_file` API. The client-side working directory is used to hold these files unless absolute paths or target directory is specified. There is also a working directory on the server for the same purpose. The server's working directory can be obtained via Workbench query `GetServerWorkingDirectory()` that runs on the server.
62
62
63
63
For example, this uploads all part files with a given prefix and all agdb files in the working directory, plus another file outside of the working directory, from client to server:
@@ -101,8 +101,8 @@ All the file handling APIs come with progress bar that is shown by default. One
###Start other PyANSYS services from systems in a PyWorkbench project
105
-
####PyMechanical
104
+
## Start other PyANSYS services from systems in a PyWorkbench project
105
+
### PyMechanical
106
106
For any mechanical system in the Workbench project, PyMechanical service can be started and connected to from the same client machine.
107
107
The following runs a server side script to create a mechanical system, then starts PyMechanical service for the system and establish a PyMechanical client.
0 commit comments