Re: [PyMOL] Access viewport size

2010-09-23 Thread Robert Campbell
Hi, On Wed, 22 Sep 2010 23:29:14 -0400 Jason Vertrees wrote: > Hi Mark, > > We used to be able to call this to get the viewport size. But, > somewhere along the line Warren removed this. I'll see if I can add > it back in, or find out why he removed it. As mentioned in this email: http://ww

Re: [PyMOL] Access viewport size

2010-09-22 Thread Jason Vertrees
Hi Mark, We used to be able to call this to get the viewport size. But, somewhere along the line Warren removed this. I'll see if I can add it back in, or find out why he removed it. Cheers, -- Jason On Wed, Sep 22, 2010 at 2:06 PM, Mark A Saper wrote: > The output of the get_view command do

[PyMOL] Access viewport size

2010-09-22 Thread Mark A Saper
The output of the get_view command does not save the size of the viewport. Thus if you want to recreate an image for ray tracing so it will have the same size and scale, one also needs to save the viewport dimensions. Is there some way to access this information? The viewport command only set