Hi all,
I was wondering if there is a way that I can change a particular attribute of a reference node, in my case - it is a camera, and the attribute I am trying to change is its Film Gate aka Film Back.
The moment when I tried to change it via coding, I got this error that states
[ul]
[li]setAttr: The attribute ‘camera:cameraShape.horizontalFilmAperture’ is locked or connected and cannot be modified.
[/li][li]setAttr: The attribute ‘camera:cameraShape.verticalFilmAperture’ is locked or connected and cannot be modified.
[/li][/ul]
Unless I did a manual change, by selecting the camera >> attribute editor and select a film back from the drop-down list, though it still displays the error, but the film gate was changed accordingly.
any ideas?