Skip to main content
1-Visitor
September 3, 2014
Question

WTPart softtype lifecycle

  • September 3, 2014
  • 1 reply
  • 694 views

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.

1 reply

12-Amethyst
September 4, 2014

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