question

Roxanne Vo avatar image
0 Likes"
Roxanne Vo asked Jason Lightfoot edited

Different objects from one source

Hi!

Is it possible to create a male and female flow item from one source without using process flow?


FlexSim 21.0.10
sourceflow itemsflow items by case
· 1
5 |100000

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

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @Roxanne Vo, was Phil BoBo's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Jason Lightfoot edited

If you want to change what type of item is being created by a Source object, then you can change its "itemclass" variable:

current.setVariable("itemclass", duniform(8,9));

1650995546432.png

dynamic_flowitem_class.fsm


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

Jose_antonio Ie avatar image Jose_antonio Ie commented ·

Very useful!!!

But one step further, would it be possible that in the attached file boxes turns red and cylinders in green with different labels?

Thanks in advance for your support.

dynamic-flowitem-request.fsm

0 Likes 0 ·
Show more comments