How to get attached components from a UBlueprint in c++/python? UE4.23

I want to be able to update default parameters on specific components in a blueprint - like the skeletal mesh component in a character blueprint.

This is fairly straight forward if I have an actor already to get the components and update them in c++, but I want to access the blueprint components before spawning any actors.

Appreciate any help!

Hello sloxton.
I think I´m doing something similar.



import unreal as ue
selected_actors=ue.EditorLevelLibrary.get_selected_level_actors()
for actor in selected_actors:
    children_component=actor.root_component.get_children_components(True)
for component in children_component:
    print component


You need to select the BP actors from the WorldOutliner.

Best of luck!