This line was working a couple years ago to keyframe the Mapping Node (Point) Location for X, Y, Z.
(bpy.data.materials[self.obj_mat].node_tree.nodes["Mapping"].keyframe_insert(data_path = "translation", frame = frame_set)
Now I get an error message:
TypeError: bpy_struct.keyframe_insert() property "translation" not found
Seems somewhere in time an update apparently changed the "translation" data_path on the Mapping node and so if someone can help me out on this by telling me the new data_path and how to find out the data paths - as just copying the data path gives the following:
bpy.data.materials["Mat.002"].node_tree.nodes["Mapping"].inputs[1].default_value[1]
and not sure how inputs[1].default_value[1]
let's me know what to put in. I checked the Actions and see "X Default Value (Location)", which was another dead-end.
Thanks