How to get Item type?

How to get Item type?

Cat892
Not applicable
66 Views
3 Replies
Message 1 of 4

How to get Item type?

Cat892
Not applicable

[ FlexSim 7.7.4 ]

Hi, good afternoon

When I check output result , I found some bug in my model.

I set Item Type in source input, and use queue's onEntry to Increment Value.

But, the Item type wasn't correct to write to global table.

Can you help me to fix it?

Thanks.



1676109245439.png


1676108452133.png


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

jason_lightfootVL7B4
Autodesk
Autodesk
Try itemtype(item) as the thing to increment.

Also - you're using an unsupported version of FlexSim and should investigate getting a supported version. Many of the answers on this site will not be applicable to your version.

0 Likes
Message 3 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Names are strings. Strings are case sensitive. “Type”, “type” and “itemtype“ are different names.
Btw, it would be a really good idea to update to an actual supported version of FlexSim. Version 7.7 is long outdated. And there has been a shift from an object attribute itemtype to a simple label called “Type” in the meantime.

0 Likes
Message 4 of 4

Cat892
Not applicable

Hi Joerg,


Thanks.

I know my FlexSim version is too old.

But our college doesn't enough cost to upgrade it...

0 Likes