Simcenter Amesim How to check the environment variables used by Simcenter Amesim

2024-01-09T12:39:03.000-0500
Simcenter Amesim Automation Connect Simcenter System Simulation Client for Git Simcenter Amesim Teamcenter Share

Summary

This short article demonstrates the workflow to check the environment variables used by the Simcenter Amesim environment which could sometimes differ from the Windows one


Details

Environment variables are important to get everything running properly. Indeed, among others, they matter for licensing, compilation or even cosimulation with external tools. To check them, one will quite often open the Windows settings and the environment variables interface. But from time to time, because of scripts or IT rules, the environment variables seen by Simcenter Amesim could differ from the ones set up for the Windows environment.

Here below is how to check which one are used by the Simcenter Amesim instance currently opened.

- Go to Tools>Python command interpreter:

image.png

- A command prompt should have popped up. Here type exit() and press Enter to leave the python console.

- Optional step: change the current directory to another one. In the next step, we will generate a text file. In order to get it in an appropriate folder, you can change it by typing cd C:\Users\abc123\Desktop for instance and press Enter.

- To generate the file containing the environment variables seen by Simcenter Amesim, type set>env.txt and press Enter.

- A text file called env.txt and containing all the environment variables has been generated at the specified location.
 

KB Article ID# KB000129059_EN_US

Contents

SummaryDetails

Associated Components

Amesim Automation Connect