How to change variables from blueprints with an Editor Utility Widget checkbox?

Ok narrowed down how it can be done in python. No c++ needed

Just swap out the blueprint path / name and property and you have a tool ready

It can probably be cleaned up with an append node and one function but it works!

Python text for true

import unreal

bp_object = unreal.EditorAssetLibrary.load_blueprint_class('/Game/BP_Test')
bp_default_oject = unreal.get_default_object(bp_object)
bp_default_oject.set_editor_property("ShowInitialDialog",True)
unreal.EditorAssetLibrary.save_asset('/Game/BP_Test', only_if_is_dirty=False)

@fael097 I converted the python script to function to simplify it


ToolEUW_2.zip (62.5 KB)

1 Like