Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
One of my JLink apps has changed behavior when Windchill is involved.
The app uses the model methods GetRevision & GetVersion, which both return a string.
The app uses these strings to add a standized note on a drawing.
This app worked fine when we used Pro/E Wildfire with Intralink 3.4.
However, when Pro/E is used with Windchill Intralink 9.1, both of these methods return null.
PTC_WM_REVISION & PTC_WM_ITERATION are properly defined in the drawing, and that is what I was expecting from these methods.
Before I submit this to PTC, has anyone else had to deal with this?
Gerry
Thanks to all that replied.
The most common solution was to simply use the parameters instead of GetRevision & GetVersion, which apparently only work in Intralink 3.x.
Gerry
In Reply to Bjarne Frandsen:
Those JLink methods only works with Intralink 3.4.
With Windchill you must read the parameter value like
String version =
model.getParam("PTC_WM_VERSION").GetValue().GetStringValue();