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]?

  • 2
    $\begingroup$ Try Ctrl+Shift+Alt+C $\endgroup$
    – brockmann
    Apr 27, 2020 at 9:31

1 Answer 1


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["Cube"].location[2].

The hotkey calls bpy.ops.ui.copy_data_path_button(full_path=True) operator:

enter image description here

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

  • 1
    $\begingroup$ Carpal tunnel syndrome alert ! $\endgroup$
    – Gorgious
    Apr 28, 2020 at 20:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .