register_file_extensions

omni.kit.helper.file_utils.asset_types.register_file_extensions(asset_type: str, exts: [<class 'str'>], replace: bool = False)

Adds an asset type to the recognized list.

Parameters
  • asset_type (str) – Name of asset type.

  • exts ([str]) – List of extensions to associate with this asset type, e.g. [“.usd”, “.usda”].

  • replace (bool) – If True, replaces extensions in the existing definition. Otherwise, append to the existing list.