Windchill find out Installation directory through API
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.
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.
Hello
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.