python_value_as_usd#

omni.graph.core.python_value_as_usd(
og_type: Type,
value: Any,
) Any#

Converts the given python value to the equivalent USD value

Parameters:
  • og_type – The OG type of the given data

  • value – The pure python value (IE not USD or numpy)

Returns:

The USD-compatible value

Return type:

Any