omni.kit.usd.layers Functions#

Functions Summary:

active_authoring_layer_context

Gets the edit context for edit target if it’s in non-auto authoring mode,

get_all_locked_specs

get_all_spec_links

get_auto_authoring

Gets the Auto Authoring interface from Layers instance bound to the specified UsdContext.

get_last_error_string

Gets the error string of the API call bound to specified UsdContext.

get_last_error_type

Gets the error status of the API call bound to specified UsdContext. Any API calls to Layers interface will change

get_layer_event_payload

Gets the payload of layer events by populating them into an instance of LayerEventPayload.

get_layers

Gets Layers instance bound to the context. For each UsdContext, it has unique Layers instance,

get_layers_state

Gets the Layers State interface from Layers instance bound to the specified UsdContext.

get_live_session_name_from_shared_link

Gets the name of Live Session from the url.

get_live_syncing

Gets the Live Syncing interface from Layers instance bound to the specified UsdContext.

get_short_user_name

Gets short name with capitalized first letters of each word.

get_spec_layer_links

get_spec_links_for_layers

is_spec_linked

is_spec_locked

link_specs

lock_specs

unlink_all_specs

unlink_specs

unlink_specs_from_all_layers

unlink_specs_to_layers

unlock_all_specs

unlock_specs