Re: [PyMOL] Create a dummy atom

2011-11-15 Thread Tsjerk Wassenaar
Hi Troels, > I think to get the return values of a script, you need to put them > inside python boxes I'd assume it'd be a Python script :) But also for a PyMOL script, it's not exactly true. However, then there should be no space before the equality sign. This should work: theCenter=COM(...) ps

Re: [PyMOL] Create a dummy atom

2011-11-15 Thread Troels Emtekær Linnet
I think to get the return values of a script, you need to put them inside python boxes python theCenter = COM(...) pseudoatom("theAtom",pos=theCenter) python end 2011/11/14 ABEL Stephane 175950 > Thank you Jason and Troels for your quick response. > > I have an additional question. Now if i

Re: [PyMOL] Create a dummy atom

2011-11-14 Thread Jason Vertrees
Stephane, COM should return the coordinates: theCenter = COM(...) pseudoatom theAtom, pos=theCenter Cheers, -- Jason On Mon, Nov 14, 2011 at 5:44 PM, ABEL Stephane 175950 wrote: > Thank you Jason and Troels for your quick response. > > I have an additional question. Now if i want to pass the

Re: [PyMOL] Create a dummy atom

2011-11-14 Thread Jason Vertrees
Stephane, Create a psuedoatom and specify the coordinates: pseudoatom myCentralAtom, pos=[X,Y,Z] pseudoatom myCentralAtom, pos=[10.20, -14.2, 0.44] Cheers, -- Jason On Mon, Nov 14, 2011 at 4:33 PM, ABEL Stephane 175950 wrote: > Dear all, > > I have a simple question but i have found no respo

Re: [PyMOL] Create a dummy atom

2011-11-14 Thread Troels Emtekær Linnet
Using pseudo atoms http://www.pymolwiki.org/index.php/Pseudoatom using pos= pseudoatom tmpPoint2, resi=40, chain=ZZ, b=40, color=tv_blue, pos=[-10, 0, 10] Troels Emtekær Linnet Slotsvej 2 4300 Holbæk Mobil: +45 60210234 2011/11/14 ABEL Stephane 175950 > Dear all, > > I have a simple ques