question

K_yun avatar image
0 Likes"
K_yun asked K_yun commented

How to convert Vec3 variable to Array ?

I want te to dynamically change it's route when it comes to a block. I have tried the idea that let te check its location at a set intervaltime.If the location stay unchanged, then make the te travel to another point to continue its mission.

But i don't know how to convert Vec3 variable to Array when setting te's location as a msgparam in Sendmessage() command. 001.png20191212.fsm

Attached is a simplified model which can illustrate my problem.Thanks advance for any suggestion.

FlexSim 19.2.3
arrayvec3
001.png (121.1 KiB)
20191212.fsm (32.9 KiB)
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
1 Like"
Joerg Vogel answered K_yun commented
  1. Array myArray = curLoc;
· 2
5 |100000

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