SelectionNotifier#

class omni.kit.property.usd.SelectionNotifier(usd_context_id='', property_window_context_id='')#

Bases: object

A class to represent the selection notifier.

Methods

__init__([usd_context_id, ...])

Initializes the selection notifier.

notify_property_window([save_scroll_pos])

Notifies the property window.

start()

Starts the selection notifier.

stop()

Stops the selection notifier.

__init__(
usd_context_id='',
property_window_context_id='',
)#

Initializes the selection notifier.

Parameters:
  • usd_context_id – The USD context ID.

  • property_window_context_id – The property window context ID.

notify_property_window(
save_scroll_pos: bool = False,
)#

Notifies the property window.

Parameters:

save_scroll_pos – Whether to save the scroll position.

start()#

Starts the selection notifier.

stop()#

Stops the selection notifier.