I would try using the shape node of the camera, as this is where the attributes
actually are,
or using the camera command to edit attribute values on cameras.
In my experience using the transform nodes name to setAttr on attributes that
live
on the shape sometimes works and sometimes it doesnt, dunno y. 

 


Panupat Chongstitwattana <[email protected]> hat am 6. Januar 2012 um 11:12
geschrieben:

> Hi everyone.
>
> Only in some shots, my script to setAttr cameras will not work.
>
> setAttr cameraName.displayGateMask 1;
> // Error: Not enough data was provided. The last 0 items will be skipped. //
>
> If I echoing all command, I saw it's generating this instead
>
> camera -e -displayGateMask on |cameraName
>
> I'm really curious why sometimes the first script would not work?
>
> Best regard,
> Panupat C.
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to