How to copy the full data path of a property to the clipboard? I right click on the cube Z location, then select "copy data path". When I paste that into the console I find the word location. Why doesn't it paste bpy.data.objects['cube'].location[2]?
Place the cursor over a property and press CtrlShiftAltC to copy the full RNA data path of that property to the clipboard eg. bpy.data.objects[&quot;Cube&quot;].location[2].
The hotkey calls bpy.ops.ui.copy_data_path_button(full_path=True) operator:

Somehow related: Add menu entry to generic right-click menu?