question

Chaochiang C avatar image
0 Likes"
Chaochiang C asked Chaochiang C commented

How can I create a patient on gurney?

QUESTION.fsm.

How can I create a patient on gurney,but I want the patient is lie on the gurney not standing on the gurney?

FlexSim 20.2.3
transportpatient destinationgurney
question.fsm (63.6 KiB)
· 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.

Ryan Clark avatar image Ryan Clark commented ·

Hi @Chaochiang C, was Felix Möhlmann'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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Chaochiang C commented

The position on a gurney is reached by the patient being moved to specific coordinates (1.9, -0.39, 0) within the gurney and playing the "LayDown" animation. The animation can be started manually in a custom code activity.

1632740602573.pngOpen the code window of the activity and add the "SPEED_TYPE_DURATION" and speed value "0" parameters to the "start" command.

1632740526085.png

This will make the animation finish instantly (in 0s) and the patient appears to lie on the gurney.

PatientOnGurney.fsm


1632740526085.png (22.6 KiB)
1632740602573.png (9.7 KiB)
patientongurney.fsm (43.7 KiB)
· 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.

Chaochiang C avatar image Chaochiang C commented ·

@Felix Möhlmann Thank u for your help,this comment is really helpful to solve my problem.

0 Likes 0 ·