question

JUanGarcia avatar image
0 Likes"
JUanGarcia asked Jeanette F commented

How to use User Event

We don´t know how to use User Event and the Code Snippet.

We will be grateful if you are able to help us.

FlexSim 22.1.3
code snippetuser eventurgent
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @JUanGarcia, was Jeanette F'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

Jeanette F avatar image
1 Like"
Jeanette F answered

Hello @JUanGarcia,

Please check out our manual.

"User Events are FlexScript functions that execute at set times during the model's run, but are not connected with any specific, visible object. They are created and stored in model's /Tools/UserEvents folder. A model can have any number of user events. "

"Event Code: This is where the FlexScript code for the event is written. Any valid FlexScript statements can be used in this picklist."

5 |100000

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