Query WHERE filter

Query WHERE filter

miyeDP27D
Contributor Contributor
87 Views
3 Replies
Message 1 of 4

Query WHERE filter

miyeDP27D
Contributor
Contributor

[ FlexSim 24.1.0 ]

Hello, I am trying to pull a specific task of the list WHERE it only pulls the task with Station Labelled to the 3D object named WH4Outbound. I wrote it as: WHERE Station == Model.find("WH4Outbound") However, what I wrong doesn't seem to work, can you let me know what am I supposed to write in the Query? 1725363755093.png

0 Likes
Accepted solutions (1)
88 Views
3 Replies
Replies (3)
Message 2 of 4

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Assign the object pointer to a label on the puller called 'station' and then use WHERE Station=puller.station

0 Likes
Message 3 of 4

miyeDP27D
Contributor
Contributor
This works. Thank you. I have another question: is it not possible to choose a specific station from the Where query without having a label on the puller?
0 Likes
Message 4 of 4

moehlmann_fe
Enthusiast
Enthusiast

You can add an expression field that returns the name of the object and compare a string to that in the query. This will of course lead to errors if you also have values on the list that do not have a 'name'.

1725373903855.png

1725373915484.png

0 Likes