the env should work. Make sure you have it like this:
thank you for the overview of the to_ini working machanism.
Now we have a customer who works with Teamcenter.
If we take the OOTB simulation_ini.tcl, then a folder named as the CAM-Part is created in C:\Temp like this:
In this folder the to_ini.ini is created and works fine with the CSE. But how works it? Does the CSE get this information from Teamcenter? Where can I customize this option?
in case of TC we suggest to use the environment variable to place subprogram and ini files.
The latest OOTB simulation TCL file checks if that env is set and create the to_ini.ini direct on that location.
CSE later looks to the three locations to find ini files and subprograms as usual and independent of managed mode or not.
If the env is not set the ini file is written where the CAM part file is located and in case of TC that is these one shared temp folder.
Hope that helps to clarify