[PyMOL] dss

2010-09-10 Thread Bradley Hintze
Is there a way i can call dss from a script? e.g. cmd.dss. -- Bradley J. Hintze Graduate Student Duke University School of Medicine 801-712-8799 -- Start uncovering the many advantages of virtual appliances and start usi

[PyMOL] CGO Color

2010-09-10 Thread Sean Law
Hi PyMOLers, I'm not sure if this is a bug or not but when I draw CGO shapes in PyMOL and then later decide to give the shape a different color, I can't seem to change the color of the CGO object by simply clicking on "C" from the internal GUI and selecting the desired color. Instead, I need

Re: [PyMOL] dss

2010-09-10 Thread Jason Vertrees
Hi Bradley, "help dss" should give you a strong hint and usage info: cmd.dss( selectionName, state ); Cheers, -- Jason On Fri, Sep 10, 2010 at 1:21 PM, Bradley Hintze wrote: > Is there a way i can call dss from a script? e.g. cmd.dss. > > -- > Bradley J. Hintze > Graduate Student > Duke Unive

Re: [PyMOL] incorporating a spherical surface in pymol

2010-09-10 Thread Tsjerk Wassenaar
Hi Jay, Do you mean you want to draw a sphere at some specific point? Or is there more to it? A sphere could be drawn in two ways. You could use CGOs for that: from pymol.cgo import * cmd.load_cgo([SPHERE,x,y,z,r,R,G,B],"sphere"]) substituting x, y, and z for the coordinates of the center, r for

Re: [PyMOL] CGO Color

2010-09-10 Thread Tsjerk Wassenaar
Hi Sean, Unfortunately colors are hardcoded in the CGO lists and can not be changed dynamically. The solution is to wrap the CGO object in a class with a draw/redraw method. But that requires a bit of programming. I have something that is aimed at handling triangulated shapes, which I can send you