I have a number of custom string properties that I added to my scene with:
bpy.types.Scene.prop1 = bpy.props.StringProperty()
bpy.types.Scene.prop2 = bpy.props.StringProperty()
# etc...
I want to be able to iterate over these properties to change their values.
I was hoping I would be able to do something like this:
for prop in bpy.types.Scene:
prop = "new value";
This doesn't work but I would be iterating over all Scene properties instead of only mine anyway.
I also tried adding my properties' names to a list so that I might be able to access only my custom properties and not all the scene properties:
prop_names = ["prop1", "prop2", etc...]
But then I didn't know how to use these, I was hoping to do:
for prop in prop_names:
bpy.types.Scene. + prop = "new value";
This also didn't work. So how might I achieve something like this?