How to provide random person Male/Female reference?

How to provide random person Male/Female reference?

rajankur6494
Advocate Advocate
57 Views
2 Replies
Message 1 of 3

How to provide random person Male/Female reference?

rajankur6494
Advocate
Advocate

[ FlexSim 21.0.10 ]

Hi Team,

I am going though code which is given to generate male/female patient random basis in arrivals process flow under healthcare module. I would like to understand the numbers which are taken with respect to male (8) and female (9). Where can I find these numbers with respect to male/female?

1657291742561.png

1657291591439.png

How can I use it to generate male/female provider instead of patient?

Thank you!

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

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

The numbers 8 and 9 correspond to the rank of the Man and Woman flowitem in the FlowItem Bin:

1657293567038.png

The Man flowitem is already set to the Male Person/Staff shape and the Woman to Female Person/Staff shape. So you're already creating the same shape as the Staff objects in the model. The only difference then is the clothes they're wearing. The default Random Appearance activity that sets the patients' skin and clothes purposely doesn't use the staff clothes. For example, when setting the shirt it chooses between shirts 1-7 for men and 1-5 for women:

1657294005515.png

However, the staff shirts are shirts 8 and 9 for men and 6 and 7 for women.



Matthew Gillespie
FlexSim Software Developer

Message 3 of 3

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Ankur A3, was Matthew Gillespie'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