create_mdl_module_async

async omni.mdl.neuraylib.scripts.create_mdl_module_async(usdIdentifier: str, dbScopeName: str = '')

Loads an MDL module and stores the loaded definitions in the neuray DB scope provided.

Parameters
  • usdIdentifier – The USD asset identifier of the module to load.

  • scopeName (optional) – Name of the DB scope to load the definitions to (default: ‘’).

Returns

The handle that contains the database name of the created module. Needs to be released using `destroyMdlModule` when not required anymore.