Hi,
I am trying to create a playblasting script. The process is the scene
camera will be shown in a custom window. The code is as follows
import maya.cmds as cmds
if cmds.window('playBlastWindow', exists = 1):
cmds.deleteUI('playBlastWindow')
if cmds.windowPref ('playBlastWindow', exists = 1):
cmds.windowPref ('playBlastWindow', remove = 1)
pbTmp = cmds.window("playBlastWindow", wh = (2000, 1100), te = 20, le = 20)
cmds.paneLayout()
modPane = cmds.modelPanel()
cmds.showWindow(pbTmp)
print(cmds.window("playBlastWindow",q=True, wh=True))
#Result : [1916L, 1054L]
I want the playblast size to be 1920x1080 and i figured it out that the
window size should be bigger than that.
My System monitor resolution is 1920x1080 and i am on Windows OS 7 64 BIT.
No matter what size i give in the window properties it is shrinking
to [1916L, 1054L].
Any solution for this issue. Or how can i take playblast in 1920x1080 size.
Any help will be appreciated and thanks in advance.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/2f5c96ff-7eb5-42b4-ae6d-24451dc549d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.