cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

WTPart softtype lifecycle

VasiliyRepecki
1-Newbie

WTPart softtype lifecycle

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 1
KD
4-Participant
4-Participant
(To:VasiliyRepecki)

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

Top Tags