I can see how to use-

object.keyframe_insert(data_path="location", frame=10)

to keyframe an object's location, but how can I find the data path value for other parameters?

Eg I want to keyframe the start and end bevel mapping value on a curve what should I put instead of "location"?



  • $\begingroup$ Rightclick on the Field and choose copy datapath $\endgroup$
    – Chris
    Oct 4, 2021 at 19:57
  • $\begingroup$ Right Click and choose copy datapath only works if you don't want the full path. See this discussion If you need the full datapath, then see this answer $\endgroup$ Oct 5, 2021 at 0:35
  • $\begingroup$ Brilliant, thanks all $\endgroup$ Oct 5, 2021 at 9:06


Browse other questions tagged .