OmniGraph Node omni.graph.ui.ReadWindowSize

omni.graph.ui.ReadWindowSize Properties

Name

Value

Version

1

Extension

omni.graph.ui

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Read Window Size (BETA)

__categories

ui

__language

Python

Generated Class Name

OgnReadWindowSizeDatabase

Python Module

omni.graph.ui

omni.graph.ui.ReadWindowSize Description

Outputs the size of a UI window.

omni.graph.ui.ReadWindowSize Inputs

Name

Type

Default

Required?

Descripton

inputs:isViewport

bool

False

If true then only viewport windows will be considered.

uiName

Is Viewport?

__default

false

inputs:name

token

None

Name of the window. If there are multiple windows with the same name the first one found will be used.

uiName

Name

inputs:widgetPath

token

None

Full path to a widget in the window. If specified then ‘name’ will be ignored and the window containing the widget will be used.

uiName

Widget Path

omni.graph.ui.ReadWindowSize Outputs

Name

Type

Default

Required?

Descripton

outputs:height

float

None

Y

Height of the window in pixels.

uiName

Height

outputs:width

float

None

Y

Width of the window in pixels.

uiName

Width