Setting environment variable #3741
-
Hi, I have been trying to create a geometry of an array with a very large number of elements using PyAEDT scripting. In the Message Manager, HFSS suggests to set the environment variable in a certain way as an work around. (Please see the message below.) Wondering what would be the PyAEDT function to implement this! Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Abhi-SimuTech,
Note: Please be cautious in doing so and keep in mind that it can change the behavior of following simulations. The global environment variable outside of the PyAEDT application will not affected. If you want to persist an environment variable across different processes or system-wide, you need to set it in the operating system settings or in a script that is executed when the system starts or when a new shell is started. |
Beta Was this translation helpful? Give feedback.
Hi @Abhi-SimuTech,
You would just have to do it as you do in Python for any other application
Note: Please be cautious in doing so and keep in mind that it can change the behavior of following simulations.
The global environment variable outside of the PyAEDT application will not affected. If you want to persist an environment variable across different processes or system-wide, you need to set it in the operating system settings or in a script that is executed when the system starts or when a new shell is started.