Community Tip - You can change your system assigned username to something more personal in your community settings. X
How do I get windchill installation directory / load point location though API.
I see almost every article related to this but no luck.
Please suggest or guide.
Solved! Go to Solution.
Hello @KU_9572760
At the beginning of your class:
public class TEHUtils {
static String wthome;
static {
    try {
             WTProperties wtProps = WTProperties.getLocalProperties();
             String wthome = wtProps.getProperty("wt.home", "c:/tmp");
      } catch (Throwable t) {
                 t.printStackTrace(System.err);
                throw new ExceptionInInitializerError(t);
      }
}
..
BR,
Pascal
Hello @KU_9572760
At the beginning of your class:
public class TEHUtils {
static String wthome;
static {
    try {
             WTProperties wtProps = WTProperties.getLocalProperties();
             String wthome = wtProps.getProperty("wt.home", "c:/tmp");
      } catch (Throwable t) {
                 t.printStackTrace(System.err);
                throw new ExceptionInInitializerError(t);
      }
}
..
BR,
Pascal
Hi Pascal,
your earlier solution also worked.
Big Thanks,
 
					
				
				
			
		
