question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Patrick Cloutier commented

How to reference event object Y location ?

I'm sure this is a very easy one but I've spent a lot of time and can't find the answer.

I have an event-triggered source. In it I assign the event object to token.chamber

Later, how do I reference the Y location of that event object?

I tried "token.chamber.location.y"

I also tried "Model.find(token.chamber).as(Object).location.y"

Thanks,

FlexSim 19.0.0
event object location
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

Joshua S avatar image
0 Likes"
Joshua S answered Patrick Cloutier commented

use

token.chamber.as(Object).location.y
· 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.

Patrick Cloutier avatar image Patrick Cloutier commented ·

I can't believe I was this close and not found it ! Thanks a lot.

0 Likes 0 ·