Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi.
I have a problem with WTPart softtype lifecycle.
I've created softtype of WTPart and specified lifecycle for it. And l've imported customized OIR also.
If softtype instance is created through windchill interface - it has lifecycle defined by me.
If i create softtype instance by java code - it has standard lifecycle.
Can anyone help?
Thanks.
Hi,
At the time of creating softtype instance by java code you can also set lifecycle using LifecycleHelper.setstate method.
The OIR is not invoking when you are craeting it through code.
Thanks,
Kaushik