set_collapsed_state

omni.kit.window.property.managed_frame.set_collapsed_state(index_name: str, state: bool)

Set new collapsed state.

Parameters
  • index_name (str) – group name of the frame.

  • state (bool) – new collapsed state of the frame.