Counting a parameter up via Connector Class

Counting a parameter up via Connector Class

mk92
Collaborator Collaborator
834 Views
3 Replies
Message 1 of 4

Counting a parameter up via Connector Class

mk92
Collaborator
Collaborator

Hi all,

 

I have an asset which changes its appearance depending on the amount of supports attached to it. So my question is:

 

Is there a possibility to count a parameter up via connector class? So if the first support is attached change from 0 to 1, and with the second support counting from 1 to 2 and so on.

 

Kind regards.

0 Likes
835 Views
3 Replies
Replies (3)
Message 2 of 4

XuesongBai
Alumni
Alumni

Hi Marco,

 

That should be possible. 

For example, there are connectors on the asset. C1, C2,C3,C4. Each connector mapping a specific parameter. P1,P2,P3,P4. The default vaule is 0.

So if C1 ,C2 and C3 are consumed, P1=1, P2=1 and P3=1 but C4 is not consumed, P4=0. Finally you can calculate them in iLogic. The total supports is 3.

 

Hope that will be working for you.

 

Thanks,

-Xuesong

 

 

 

Please mark as a solution if somehow I got it right.
0 Likes
Message 3 of 4

mk92
Collaborator
Collaborator

But all these Parameter have to be KeyParameters and are visible in the FDS in my Asset Parameters right? I cant pass hidden parameters via ConnectorClasses, also in FDS 2018?

 

But you are right, this could be a solution for me, not pretty, but could work.

0 Likes
Message 4 of 4

SveinnIngi
Contributor
Contributor

Hi Xuesong,

 

This is interesting. Can you explain to me in more detail how this mapping is done? Maybe send me a .ipt or something. I would like to try this out but I'm quite lost. Thanks.

 

Best regards,

Sveinn

0 Likes