I can't be sure, but I think your OS limits the creation of windows larger
than your resolution.

What you can do instead is playblast "offscreen". There's an option for
that in the playblast window.

On 12 October 2017 at 09:51, <[email protected]> wrote:

> 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.
>
> --
> 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/2a6b426d-b876-4935-b00b-
> b6aa424f5159%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFRtmODbbdVtBTfNP5Q%3DrUqXSuE3r3nwmHQy5vTFUO7K97dWmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to