Error using LevelExporterUSD from python in 5.5.4

Hi Dave,

The USD level exporter is Python based, you need to call it directly. You can use the asset export task workflow to export assets to USD, but you cannot use it for level.

Something like below should work:

`from usd_unreal import level_exporter, exporting_utils

lvl_path = “/Game/MyMap.MyMap”
asset = unreal.load_asset(lvl_path)

options = unreal.LevelExporterUSDOptions()

context = exporting_utils.UsdExportContext()
context.root_layer_path = “C:/Exports/level_export.usda”
context.options = options
context.world = asset

level_exporter.export(context)`Let me know how it worked for you.

Regards,

Jean-Luc