Download

New to editor scripting: Modifying child components from CDO

I’m new to editor scripting and (I think) I’ve figured out the difference between classes, generated classes and the class default objects.

When trying to modify properties on the CDO - I can only modify things that exist on the “Top level” of the blueprint - I can’t see any child components other than the root component.

However, if I try and cdo.get_editor_property(“MyComponentName”) I don’t get an error the property doesn’t exist - but I do receive a None back from the call. Indicating to me the component exists and I a should be able to access and modify it but I can’t manage to get it to work.

Is there some trick I’m missing?

To other people who might find this post - I just wrote the logic I needed in C++ and exposed it to python