Collection of a few python scripts for processing actors and assets in Unreal Engine, especially useful when importing large datasmith files.
List of scripts:
- ImportDataSmith: Import a datasmith file and possibly place it in a new scene
- Joinactors: Join static mesh actors based on their label
- MergeMeshes: Merge all static mesh actors selected either based on layer or label
- ModifyDatasmith: Organize the actors of a datasmith scene into layers based on their label and replace certain materials
- ReadMetadata: For all static mesh actors, read the metadata (datasmith user data) corresponding to certain keys and write the values into a CSV file
- ReplaceAllMaterials: Replace all materials used in the scene with those materials with the same label selected from a new folder
- ReplaceMaterial: Replace all material slots of static mesh actors with certain label
- ShowProgress: Template for showing a progress bar while performing slow tasks
- SpawnLights: Spawn a point light for every actor that has "Lamp" in its label
The Unreal Python API reference can be found here.