Blender python - edit custom property of a specific object I am new to python. I would like to get a custom property of an object (not context.object) in a scene, for example &quot;Object&quot; (where my custom properties are assigned) and edit them via my custom addon - without the nessesity of selecting that object.
In other words, I would like to change a value via an operator in my addon, and such that the value would change in the Object's custom property.
My link to an object in the code:
obj = bpy.data.objects[&quot;Object&quot;]
row.prop(obj, &quot;custom_property_name&quot;)
You need to :
Make sure your object is actually named &quot;Object&quot; (case sensitive)
And the correct syntax to display a custom property would be :
row.prop(obj, '[&quot;custom_property_name&quot;]')