[SOLVED]connect process inputs to an operator programmatically

siamak_wantsiamak_want Member Posts: 98 Contributor II
edited November 2018 in Help
Hi guys,

I need to connect the input ports of my "Main process" to one of the inner operators in my process programmatically. I mean, I don't want to save the process as xml and I want to connect the input as follows:

The above code works fine, because every "output port" has the method "connectTO()". But in my case, In fact, I need to connect 2 input ports together. i.e. the input port of my main process to the input port of one of my inner operators in the main process. So I don't have any "connectTo" method. Any idea?




  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,993 RM Engineering

    have a look here: click

  • Options
    siamak_wantsiamak_want Member Posts: 98 Contributor II
    Thanks a lot Marco,

    Your method worked nice.

Sign In or Register to comment.