在 2015年8月27日星期四 UTC+8下午3:40:53,Marcus Ottosson写道:
> The cmds.playblast works well when run from Maya in standalone, but I’m 
> having trouble specifying which camera to playblast through.
> 
> From the GUI, I typically use..
> import maya.cmds
> maya.cmds.lookThru("myCamera")
> maya.cmds.playblast()
> 
> 
> But in standalone, this gives me an error.
> >>> maya.cmds.lookThru("persp")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> RuntimeError: There is no active view.
> 
> Are there any other methods of specifying a camera for playblast?
> 
> ​
> -- 
> 
> 
> Marcus Ottosson
> konstr...@gmail.com

Can you publish successful code

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/085b2da4-5779-44a7-a75b-33fe4aa36bca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to