Thank you for noticing my sending mistake, Takanori.
This
import os, __main__, wx
os.environ['PYMOL_PATH'] = C:\Python27\PyMOL
pyMolX=300
pyMolY=500
__main__.pymol_argv = [ 'pymol', -qxX,pyMolX,-Y,pyMolY] # Quiet, no ext
GUI, pos(pyMolX,pyMolY)
import pymol, pymol.cmd
Hi,
import os, __main__, time
os.environ['PYMOL_PATH'] = C:\Python27\PyMOL
__main__.pymol_argv = [ 'pymol', -qx] # Quiet and no GUI
import pymol
pymol.finish_launching()
pymol.cmd.load(water.pdb)
time.sleep(1)
pymol.cmd.window(position, 500, 300)
...in Python, Pymol freezes. If I
Is it possible to control the screen location of the viewport during run
time through the API? Currently I am using...
import os, wx, __main__
app = wx.App()
os.environ['PYMOL_PATH'] = C:\Python27\PyMOL
__main__.pymol_argv = [ 'pymol', -qx] # Quiet and no GUI
import pymol
Hi Wilson,
The following works for me:
# put the PyMOL window at 100,100 on startup
./pymol -X 100 -Y 100
I don't think we can programmatically move the OpenGL window once it's
started up, however.
On MacOS X 10.8 and the windowing system overrides these values; Linux and
Windows should
Hi,
I don't think we can programmatically move the OpenGL window once it's
started up, however.
What about cmd.window()?
For example,
cmd.window(position, 500, 300)
It worked fine on Ubuntu.
help window says
DESCRIPTION
window controls the visibility of PyMOL's output window
USAGE