omni.usd

Classes Summary:

AudioManager

LayerEditMode

Layers

PickingMode

Members:

PrimCaching

Selection

StageEventType

Stage operation results.

StageLiveModeType

StageRenderingEventType

Rendering Events.

StageState

Stage states.

SublayerChangeType

TransformHelper

UsdContext

UsdContextInitialLoadSet

Specifies the initial set of prims to load when opening a UsdStage.

UsdExtension

UsdWatcher

Value_On_Layer

An enumeration.

Functions Summary:

active_authoring_layer_context

attr_has_timesample_on_key

can_be_copied

can_prim_have_children

check_ancestral

clear_attr_val_at_time

copy_timesamples_from_weaker_layer

create_material_input

duplicate_prim

Duplicate prim. This will duplicate prim specs in all sublayers with the same prim path.

find_path_in_nodes

find_spec_on_session_or_its_sublayers

get_all_sublayers

Gets all sublayers ranking from strongest to weakest.

get_attribute_effective_defaultvalue_layer_info

get_attribute_effective_timesample_layer_info

get_authored_prim

get_composed_payloads_from_prim

Gets composed payload list from prim.

get_composed_references_from_prim

Gets composed reference list from prim.

get_context_from_stage

Gets corresponding UsdContext of the stage if it’s found.

get_dirty_layers

get_edit_target_identifier

Gets the layer identifier of current edit target.

get_frame_time

get_frame_time_code

get_introducing_layer

This function will find the introducing layer and prim path of this prim.

get_local_transform_SRT

Return a tuple of [scale, rotation, rotation_order, translate] for given prim.

get_local_transform_matrix

get_prim_at_path

get_prim_descendents

get_prop_at_path

get_sdf_layer

get_shader_from_material

get_stage_next_free_path

get_subidentifier_from_material

get_subidentifier_from_mdl

get_timesamples_count_in_authoring_layer

get_url_from_prim

Returns url of Prim when authored reference or None

get_world_transform_matrix

handle_exception

Decorator to print exception in async functions

is_ancestor_prim_type

is_child_type

is_hidden_type

is_layer_globally_muted

is_layer_locked

Checkes if layer is locked or not in this usd context. Layer lock is a customized

is_layer_writable

Checks if layer is writable on file system.

is_path_valid

is_prim_material_supported

is_usd_readable_filetype

is_usd_writable_filetype

make_path_relative_to_current_edit_target

on_layers_saved_result

on_stage_result

readable_usd_dotted_file_exts

readable_usd_file_exts

readable_usd_file_exts_str

readable_usd_files_desc

readable_usd_re

reload_layer_async

remove_property

set_attr_val

`set_prop_val` is misnamed. It should be set_attr_val. But had to keep it for backward comp

set_edit_target_by_identifier

Sets the edit target of stage by layer identifier.

set_prop_val

stitch_prim_specs

Sitches prim specs specified by path scattered in all sublayers

writable_usd_dotted_file_exts

writable_usd_file_exts

writable_usd_file_exts_str

writable_usd_files_desc

writable_usd_re

add_hydra_engine

add_hydra_engine(name: str, context: omni.usd._usd.UsdContext) -> None

attach_all_hydra_engines

attach_all_hydra_engines(context: omni.usd._usd.UsdContext) -> None

create_context

create_context(name: str = ‘’) -> omni.usd._usd.UsdContext

destroy_context

destroy_context(name: str = ‘’) -> bool

get_context

get_context(name: str = ‘’) -> omni.usd._usd.UsdContext

merge_layers

merge_layers(arg0: str, arg1: str, arg2: bool) -> None

merge_prim_spec

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

release_all_hydra_engines(context: omni.usd._usd.UsdContext = None) -> None

resolve_paths

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

resolve_prim_path_references(layer: str, old_prim_path: str, new_prim_path: str) -> None

shutdown_usd

shutdown_usd() -> None