Can python be used to modify blueprint class variables of structure types

So I have created a blueprint class which has a variable ‘MeshAssets’ which is an array of a custom structure I have created called 'S_MeshVariationStruct". What I want to do is use python to populate this array with new instances of that custom structure.

using get_editor_property() and set_editor_property() on int, bool, float, string, etc variables seem to work but I don’t see how it can for a custom structure. When using “blueprint.get_editor_property(“MeshAssets”)[0]” it returns “<Struct ‘S_MeshVariationStruct’ (0x000008010077CA80) {}>”. As far as I’m aware the python API does not provide any utilities for modifying these struct instances, or creating new ones. Is this possible in script form through some other means?

1 Like