omni.usd Functions
Functions Summary:
Clears attribute at specified timecode. |
|
Duplicate prim. |
|
Finds spec in the session layer or its sublayers. |
|
Gets all sublayers from local layer stack of the stage ranking from strongest to weakest. |
|
Gets composed payload list from prim. |
|
Gets composed reference list from prim. |
|
Gets corresponding UsdContext of the stage if it’s found. |
|
Gets all dirty layers that have unsaved changes. |
|
Gets the layer identifier of current edit target. |
|
This function will find the local layer that defines this prim, or the first introducing |
|
Return a tuple of [scale, rotation, rotation_order, translate] for given prim. |
|
Get property auto retarget layer. |
|
Gets a new prim path that doesn’t exist in the stage given a base path. If the given path doesn’t |
|
Deprecated. Use {py:func}`omni.kit.material.library.get_subidentifier_from_material` instead. |
|
Returns url of Prim when authored reference or None |
|
Decorator to print exception in async functions |
|
Checkes if layer is locked or not in this usd context. Layer lock is a customized |
|
Checks if layer is writable on file system. |
|
Whether the given file path is a supported readable USD file or not. |
|
Whether the given file path is a supported writable USD file or not. |
|
Gets a list of file extensions about readable USD formats. |
|
Gets a list of file extensions (without dots) about readable USD formats. |
|
Gets a string that includes all readable USD file formats supported by Kit. |
|
Gets a description of all readable USD file formats. |
|
Gets the regex that matches readable USD files. |
|
Removes specified property from the prim. |
|
Deprecated. See :func:`.set_prop_val` instead. |
|
Sets the edit target of stage by layer identifier. |
|
Sets the value of property. |
|
Sitches prim specs specified by path scattered in all sublayers |
|
Gets a list of file extensions about writable USD formats. |
|
Gets a list of file extensions (without dots) about writable USD formats. |
|
Gets a string that includes all writable USD file formats supported by Kit. |
|
Gets a description of all writable USD file formats. |
|
Gets the regex that matches writable USD files. |
|
add_hydra_engine(name: str, context: omni.usd._usd.UsdContext) -> None |
|
attach_all_hydra_engines(context: omni.usd._usd.UsdContext) -> None |
|
create_context(name: str = ‘’) -> omni.usd._usd.UsdContext |
|
destroy_context(name: str = ‘’) -> bool |
|
get_context(name: str = ‘’) -> omni.usd._usd.UsdContext |
|
get_context_from_stage_id(stage_id: int) -> omni.usd._usd.UsdContext |
|
merge_layers(dst_layer_identifier: str, src_layer_identifier: str, dst_is_stronger_than_src: bool = True, src_layer_offset: float = 0.0, src_layer_scale: float = 1.0) -> bool |
|
merge_prim_spec(dst_layer_identifier: str, src_layer_identifier: str, prim_spec_path: str, dst_is_stronger_than_src: bool = True, target_prim_path: str = ‘’) -> None |
|
release_all_hydra_engines(context: omni.usd._usd.UsdContext = None) -> None |
|
resolve_paths(src_layer_identifier: str, dst_layer_identifier: str, store_relative_path: bool = True, relative_to_src_layer: bool = False, copy_sublayer_offsets: bool = False) -> None |
|
resolve_prim_path_references(layer: str, old_prim_path: str, new_prim_path: str) -> None |
|
resolve_prim_paths_references(layer: str, old_prim_paths: List[str], new_prim_paths: List[str]) -> None |
|
shutdown_usd() -> None |