question

Lars Jacobsen avatar image
0 Likes"
Lars Jacobsen asked Mischa Spelt commented

How to get the conveyor when I know the decision point?

I have a Conveyor.DecisionPoint. How do I get the associated conveyor?

FlexSim 20.1.3
flexsim 20.1.3conveyor station
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Mischa Spelt commented
ownerobject(current.attrs.variables.find("conveyorPoint/1").evaluate())

In conveyorPoint subnode 1 is coupling data to the conveyor.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Mischa Spelt avatar image Mischa Spelt commented ·

If your expression is correct, then this should also work:

ownerobject(getvarnode(current, "conveyorPoint").first.value)

or

node(">variables/conveyorPoint/1+@", current);


1 Like 1 ·