On MessageBus Event
Event node which fires when the specified event is popped from the App Message Bus. Carb events can be sent with Python: msg = carb.events.type_from_string(‘my_event_name’) omni.kit.app.get_app().get_message_bus_event_stream().push(msg, payload={‘arg1’: 42}) The event payload data will be copied in to matching dynamic output attributes if they exist. In the previous example, 42 would be copied to outputs:arg1 if possible
Installation
To use this Node, you must enable omni.graph.action
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
Event Name (eventName) |
|
The name of the custom event |
|
Only Simulate On Play (onlyPlayback) |
|
When true, the node is only computed while Stage is being played. |
True |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Received (execOut) |
|
Executes when the event is received |