Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

maya python change render cam

Last updated at Posted at 2022-09-05
import maya.cmds as cmds

cmds.setAttr("frontShape.renderable", False)
cmds.setAttr("perspShape.renderable", False)
cmds.setAttr("sideShape.renderable", False)
cmds.setAttr("topShape.renderable", False)

# turning on the camera which I want to set in maya render settings. You need  camera shape node.

cmds.setAttr('light_cameraShape.renderable', True)
0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Login to continue?

Login or Sign up with social account

Login or Sign up with your email address