Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. 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