Changing Camera Type to spherical via Script?

Changing Camera Type to spherical via Script?

Anonymous
Not applicable
898 Views
1 Reply
Message 1 of 2

Changing Camera Type to spherical via Script?

Anonymous
Not applicable

Is there any way to change the camera type to spherical using python in Maya?
I noticed that this is the only attribute thats changes do not echo in the console.

I would love to read a solution to this...

0 Likes
Accepted solutions (1)
899 Views
1 Reply
Reply (1)
Message 2 of 2

Stephen.Blair
Community Manager
Community Manager
Accepted solution
import maya.cmds as cmds
cmds.setAttr( "cameraShape1.aiTranslator", "spherical", type="string" )


// Stephen Blair
// Arnold Renderer Support