Is there a way to recook / rebuild a HoudiniAssetActor in a level programmatically? (preferably Python or BP).
In my case I would have many levels with many instanced HDAs, and I would like to rebuild those without manual work.
I've tried stuff like
success = levelLib.load_level("/Game/Developers/eetu/BigWorldTest/Sublevel2") world_context_object = levelLib.get_editor_world() command = 'Houdini.RebuildAll' unreal.SystemLibrary.execute_console_command(world_context_object, command) time.sleep(5) success = levelLib.save_current_level()
Is there a way to “push” the button? something in the vein of
newAsset.set_editor_property(“rebuild”, True)?
eetu.