-
From Costas Vogiatzis at Honeywell: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @agrishin Mike |
Beta Was this translation helpful? Give feedback.
-
I transferred the discussion. Pinging @PProfizi @cbellot000 |
Beta Was this translation helpful? Give feedback.
-
Hi @agrishin, To know which ANSYS installation your PyDPF script is going to use, you can try out the following script which starts a server with the default logic and then prints out its version and path where DLLs will be used:
That makes me think I should wrap this in a one-liner for easier use, as well as in a "diagnostic" tool which would give a summary of everything going on. The environment variable mentioned by @mikerife is What you can otherwise do is define it at the start of your script by calling ansys.dpf.core.start_local_server() with argument |
Beta Was this translation helpful? Give feedback.
Hi @agrishin,
To know which ANSYS installation your PyDPF script is going to use, you can try out the following script which starts a server with the default logic and then prints out its version and path where DLLs will be used:
That makes me think I should wrap this in a one-liner for easier use, as well as in a "diagnostic" tool which would give a summary of everything going on.
The environment variable mentioned by @mikerife is
ANSYS_DPF_PATH
. It can be used to set a default ANSYS install to use anytime DPF tries to start a server.What you can otherwise do is define it at t…