sudeept...@gmail.com
unread,Oct 12, 2017, 5:02:20 AM10/12/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
Hi,
I am creating a script for playblasting. the process is that scene camera will be shown in a custom window for playblasting. 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]
My System monitor resolution is 1920x1080(Windows OS 7 64bit).
I am not able to create a window beyond [1916L, 1054L] size no matter what size i give to custom window property the size of the window is getting to [1916L, 1054L].
Is there any way to get the window size to 2000x1100 ?
Any help will be appreciated.
Thanks in advance.