Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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
