I'm trying to copy (all) properties from one camera to another by parsing the camera data block rna_type
properties.
I'm able to set simple properties, but I'm unable to set any rna property that is defined inside another property - as in camdata.propname.propname
.
camdata = bpy.data.objects['camera'].data
setattr(camdata, 'display_size', 100) # works fine
setattr(camdata, 'stereo.convergence_distance', 100) # this Fails
eval("camdata"+ ".stereo.convergence_distance" + " = " + 100) # this also Fails