omni.graph.core.attribute_value_as_usd(og_type: omni.graph.core._omni_graph_core.Type, value: Any, array_limit: Optional[int] = None) Any

Returns the value, converted into a type suitable for setting through the USD API compatible with an attribute of the given type. It’s assumed that anything passed in here has a valid USD attribute type; i.e. no extended attributes or bundles

  • data (og_type The OG type of the given) –

  • attribute (value The value read from the) –

  • truncated (array_limit Arrays larger than this value will be) –


The USD-compatible value