question

Tim avatar image
0 Likes"
Tim asked Jason Lightfoot commented

About the sorting of Zone

Hi everyone, when I was sorting the items that arrived in photo eye using zone, I found that I couldn't run the model in the order I wanted. How can I modify the query command? I want the item with the larger type to take precedence over the other items.

Thank you !

photo eyeV23.0.fsm

FlexSim 23.0.15
queryzonephoto eye
photo-eyev230.fsm (54.3 KiB)
· 4
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Tim,

Thank you for contributing to our community! We couldn't identify a maintained license or subscription linked to your account.

You may need to update your profile information to identify yourself as a license owner or their associate. Check out our article for how to ensure you receive timely support. If you update your profile comment back to let us know - we'll adjust the priority of your post accordingly.

If your current license is expired, please contact your local distributor to renew.

0 Likes 0 ·
Tim avatar image Tim Jason Lightfoot ♦♦ commented ·

Hi, Jason Lightfoot. I don't have a license. I'm just a simulation enthusiast. Thank you for your attention to this issue.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Tim commented ·

The community can't answer private posts - you may want to change it to public.

0 Likes 0 ·
Show more comments

1 Answer

Tim avatar image
0 Likes"
Tim answered Jason Lightfoot commented

I have solved this problem but I want to know why token.item.labels["type"].value can be sorted, and is it different from token.item.type?

· 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.

Tim avatar image Tim commented ·

photo-eye.pngThis is an example.

0 Likes 0 ·
photo-eye.png (156.9 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Tim commented ·
Lower case 'type' is a reserved keyword that can't be used with dot notation as you've displayed, which is why you'll see all the examples use 'Type' with a capital 'T'.
0 Likes 0 ·