omni.kit.tool.collect#

Classes Summary:

CollectSelectionCancelToken

Cancels an in-flight :func:`collect_selection`.

Collector

Collector provides API to collect USD file with its dependencies that are scattered around different places.

CollectorException

General collector excpetion. See :class:`.CollectorFailureOptions` for options to customize exception behaviors.

CollectorTaskType

Internal. Task type of collector.

PublicExtension

A class to handle USD asset collection in Omniverse.

Functions Summary:

collect_selection

Write a self-contained USD (subtree + bound materials + textures) per selected subtree.

dedupe_selection_paths

Removes descendant paths nested under a selected ancestor, matching EditMenu delete dedupe.

get_instance

Returns the singleton instance of the collect extension.