Omniverse USD Resolver Python API¶
omni.usd_resolver¶
-
omni.usd_resolver.
get_version
() → str¶ Get the version of USD Resolver being used.
- Returns
Returns a human readable version string.
-
omni.usd_resolver.
register_event_callback
(callback: Callable[[str, omni.usd_resolver.Event, omni.usd_resolver.EventState, int], None]) → omni.usd_resolver.Subscription¶ Register a function that will be called any time something interesting happens.
- Parameters
callback – Callback to be called with the event.
- Returns
Subscription Object. Callback will be unregistered once subcription is released.
-
omni.usd_resolver.
set_checkpoint_message
(message: str) → None¶ Set the message to be used for atomic checkpoints created when saving files.
- Args:
message (str): Checkpoint message.
-
omni.usd_resolver.
set_mdl_builtins
(arg0: List[str]) → None¶ Set a list of built-in MDLs.
Resolving an MDL in this list will return immediately rather than performing a full resolution.