-
-
Save fereria/4fd4974c47a28e13a981 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
#0.1刻みで増やす(減らす) | |
selectCam = pm.ls(sl=True) | |
#増減する量をセット(マイナスにする時は -0.1)のように値を変更する | |
inDec = 0.1 | |
for sel in selectCam: | |
camNode = sel.getShape() | |
if pm.objectType(camNode) == "camera": | |
val = camNode.overscan.get() | |
camNode.overscan.set(val + inDec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment