question

Marco Baccalaro avatar image
0 Likes"
Marco Baccalaro asked Marco Baccalaro commented

List value.type

In this model I have simply created item type 1 and 2 and pulled it to a list trough the queue send to port. All trough standard picklists.

Why in the list, I have all types 2?

itemtype.fsm

FlexSim 17.1.0
itemtypelist itemtype
itemtype.fsm (14.4 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

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Marco Baccalaro commented

Please update to 17.1.1. The issue is that the Variant class also has a type property which returns the type of Variant it is. Because of this we updated all the pickoptions and List fields to use an uppercase "Type" label to avoid this collision and to bring it in line with our training classes where we encourage users to use uppercase label names.

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

Marco Baccalaro avatar image Marco Baccalaro commented ·

Oh good, sorry, I didn't know that an update was available.

I download it immediately!

(and I suppose I have to update again all models to use Type instead of type)

0 Likes 0 ·
Marco Baccalaro avatar image Marco Baccalaro commented ·

Note that in version 17.1.1, when creating a new "Item List", the first field is still value.type and not value.Type.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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