Reference
Console and Python
Run every Backport panel action from the console or from Python: open, check, export, import, enable plugins and apply settings.
Everything the panel does is also available without it:
| What | Console | Python |
|---|---|---|
| Open the panel | Backport.Open |
|
| Check | unreal.BackportLib.preflight_assets(paths, True, False, "5.4", "C:/out/check.json") |
|
| Export | unreal.BackportLib.export_assets(paths, True, False, "5.4", "C:/Backport/Kit") |
|
| Import | unreal.BackportLib.import_bundle("C:/Backport/Kit", "skip", "C:/Backport/Kit/report_import.json") ("fail" stops if any asset exists) |
|
| Enable required plugins | Backport.EnablePlugins <bundle folder> |
unreal.BackportLib.enable_required_plugins("C:/Backport/Kit") |
| Apply source settings | Backport.ApplySourceSettings <bundle folder> |
unreal.BackportLib.apply_source_renderer_settings("C:/Backport/Kit") |
Console folders with spaces work, with or without quotes. Python writes the check and the reports where you tell it.