Hey, this is my first time dealing with rv's Python API, so please excuse the n00b-like nature of this question.
I have a Python dictionary of key/value pairs that I would like to add to my image metadata. Not bake it out, mind you: on file load, this dict (supplied in-line) would be parsed and each key/value pair would be added to the image info.
For example, I have a dict like:
metadata = { 'shutterAngle': 180.0, 'focalLength': 35.0, 'name':'cam_anim' }
When transposed, I want the user to be able to examine image info (or hit the 'i' hotkey) and see:
shutterAngle: 180.0
focalLength: 35.0
name: cam_anim
I can't seem to locate the correct command to do this. I know commands.sourceAttributes will return image info, but how to I set it?
Thanks,
AG