get_viewport_window_instances

omni.kit.viewport.window.get_viewport_window_instances(usd_context_name: str | None = '')

Get all known ViewportWindow instances, optionally filtering with a UsdContext name.

Parameters

usd_context_name (str, None) – An optional argument to limit enumeration to ViewportWindows attached to a specific UsdContext.

Returns

An iterable object for enumerating all found ViewportWindow instances.