Global_instance

Hi,

I am trying to convert usd file into obj file using omni.kit.asset_converter.

I am getting the following error with the get_instance() method. It says that the _global_instance variable is not defined.

Any ideas how to resolve this issue?

Best,
Yohan

A solution is to enable an extension called omni.kit.tool.asset_exporter before using the omni.kit.asset_converter python API (shown in the question) like so:

ext_manager.set_extension_enabled_immediate("omni.kit.tool.asset_exporter", True)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.