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

**URL:** <https://forums.unrealengine.com/t/can-python-be-used-to-modify-blueprint-class-variables-of-structure-types/1649391>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question\
**Created:** [January 28, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/can-python-be-used-to-modify-blueprint-class-variables-of-structure-types/1649391 "2024-01-28T15:45:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FakeMophead](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FakeMophead](https://forums.unrealengine.com/u/FakeMophead)\
**Post date:** [January 28, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/can-python-be-used-to-modify-blueprint-class-variables-of-structure-types/1649391/1 "2024-01-28T15:45:49Z")

</div>

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?
