diff options
Diffstat (limited to 'doc/python_api/examples/bpy.msgbus.2.py')
-rw-r--r-- | doc/python_api/examples/bpy.msgbus.2.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.msgbus.2.py b/doc/python_api/examples/bpy.msgbus.2.py new file mode 100644 index 00000000000..5ac2187f7f9 --- /dev/null +++ b/doc/python_api/examples/bpy.msgbus.2.py @@ -0,0 +1,6 @@ +""" +Some properties are converted to Python objects when you retrieve them. This +needs to be avoided in order to create the subscription, by using +``datablock.path_resolve("property_name", False)``: +""" +subscribe_to = bpy.context.object.path_resolve("name", False) |