Nodemodel state to active without default ports connected?

Hi all,

I’m looking for a way to set the nodemodel node state to Active when only connecting the non-default ports.

I set the State to Active upon connecting the ports, but somewhere after executing this the state is set to dead again.

if (InPorts[0].IsConnected && InPorts[1].IsConnected && InPorts[2].IsConnected )
{
    State = ElementState.Active;
}

Also the default value of a port is not being displayed. Is there any way to set this?

Any advice?


image

1 Like

@ashish.ganta are you able to help Michael with some guidance here :slight_smile: ?