Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

standalone playblast view settings

1 REPLY 1
Reply
Message 1 of 2
christopher.fontein
663 Views, 1 Reply

standalone playblast view settings

I've created a playblast script to run in standalone.  It completes successfully but appears to have turned on the lights instead of the Maya default lighting.  Does anyone know where it's getting the viewport settings from and how to change them seeing as the normal viewports don't exist in standalone?

1 REPLY 1
Message 2 of 2

If it helps here's a trimmed  down version of my code at the moment.

import sys
import maya.cmds as cmds
import maya.standalone as standalone

standalone.initialize(name='python')

path = sys.argv[1]
args = {...}

cmds.file(path, open = True)
cmds.playblast(**args)

standalone.uninitialize()

To run in commandline

mayapy myscript.py somefile.ma

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report