Cannot see OnExit Trigger in properties

Cannot see OnExit Trigger in properties

shanice_c
Not applicable
12 Views
5 Replies
Message 1 of 6

Cannot see OnExit Trigger in properties

shanice_c
Not applicable

[ FlexSim 21.2.0 ]

I would like to add a new trigger in OnExit. I have used onExit before in this queue, there are some settings inside and they also works, but the problem is that I cannot add new trigger if I cannot see it.

I'd like to ask if there's any way or use code to add a new trigger until I could update Flexsim. I have asked this question before in https://answers.flexsim.com/questions/108903/flexscript-exception-cannot-add-a-new-label.html
But due to the software is maintained by company, I couldn't update myself.

0 Likes
Accepted solutions (1)
13 Views
5 Replies
Replies (5)
Message 2 of 6

moehlmann_fe
Observer
Observer
Accepted solution

By your description the trigger exists but is simply not shown in the properties window?

Have you tried to close and reopen the properties window ("View" -> "Properties" in top bar)? The trigger may also appear in the "Quicker Properties" you can open with a double click on the object.

1636012837310.png

If that doesn't work you should still be able to add code directly to the "exittrigger" node in the objects variables tree. You could add the function you want to a different trigger and copy the relevant code from it.

1636013045036.png

0 Likes
Message 3 of 6

arunTTT2P
Explorer
Explorer
Try checking the trigger after opening the default workspace. This option is available under the view button.
0 Likes
Message 4 of 6

shanice_c
Not applicable

@Felix Möhlmann Thanks you for reply. I'll try to directly write in the "exittrigger" node. I have tried double clicking on the object and reopen the default workspace, these 2 methods couldn't help. This is also not first time that triggers cannot show in the properties window.

0 Likes
Message 5 of 6

Matthew_Gillespie
Autodesk
Autodesk

@Fiona C I believe this is a bug that has been fixed in 21.2.3 or later. Update to the latest bug fix release and this will be fixed.



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 6 of 6

shanice_c
Not applicable
@Matthew Gillespie Thank you, I will update.
0 Likes