Generating events by using the animation command bar

Before you can inject an event into the model, the instance to which you are sending the event must exist. See Generating events by using the event generator.

Procedure

  1. In the Animation Command bar, type a GEN() command using either of the following formats:
    • instance->GEN(event)
    • instance->GEN(event())
  2. Press Enter.

    If the event is one that the instance is able to receive, the event is entered into the call stack (see Viewing the call stack) in the following format:

    
       instance->event()
    

    If the instance is not able to receive the event, or no such event is defined in the package, the message "Invalid event name or non-existing event class <event>" is displayed.

  3. To process the event, click one of the Go tools.