Hi Carsten,
thanks for the answer. 

Yes is for scripted mode. 
I searched pyMOLWiki  for a simple command to move the label to the target 
(something like 'super', 'fit' ) but I didn't find.
So I searched for 'get' to have the coordinates of the target atom and  for 
'alter' to change the coordinates of the label but I was quite confused: I 
didn't find names like x, y, z in the name space of both 'get' and 'alter' 
commands. So I am still searching .. 
Could you please tell me how to get and set x, y, z coordinates?

About the 'label' command: is there a way to not message the user? I didn't 
find a 'quiet' option for this command. Is there another way?

Thanks for your hint about '_' prefix to hide an object.

roberto

>----Messaggio originale----
>Da: cschu...@its.jnj.com
>Data: 27/02/2011 17.44
>A: <rv...@libero.it>, <pymol-users@lists.sourceforge.net>
>Ogg: RE: [PyMOL] labeling by a pseudoatom
>
>Roberto, 
>
>partial answer to point 3. Adding a "_" before an object name hides it
>from the panel.
>
>For points 1 or 2. Could you please expand on your question? Is this for
>interactive
>or scripted mode? 
>For scripted mode you could modify the coordinates of the pseudoatom to
>be closer to the target atom or not? Otherwise look up the commands in
>"Edit" mode. BTW in Edit mode you can actually mode regular labels with
>the mouse as well (Edit Mode: CTRL Middle click)
>
>Hope it helps somewhat
>
>Carsten
>
>> -----Original Message-----
>> From: rv...@libero.it [mailto:rv...@libero.it]
>> Sent: Friday, February 25, 2011 5:00 PM
>> To: pymol-users@lists.sourceforge.net
>> Subject: [PyMOL] labeling by a pseudoatom
>> 
>> Hello everyone,
>> 
>> trying to use a pseudoatom as label I met several problems:
>> 
>> 1) How to move the label (pseudoatom) to a target residue?
>>         Is there a simple command to do?
>> 
>> 2) How to change the label without messaging the user?
>>         The 'label' command appears not have a 'quiet' option.
>> 
>> 3)  (less important) How to hide the pseudoatom?
>>         I wish not have the pseudoatom listed among models in the GUI
>> panel.
>> 
>> 4)  (less important)  I need to execute all these operations by script
>> (mdo
>> commands during a movie)
>>         To simplify the movie I wish use only one mdo command
>> 
>> def doAll()
>>     .. all my script here ..
>> 
>>         extending the cmd just before the movie start
>> 
>> cmd.extend('doAll',  doAll)
>> 
>>         and clearing the cmd just at the end of the movie but I don't
>> know
>> how.
>>         Is there a way to clear a command?
>> 
>> 
>> Thanks,
>>     Roberto
>> 
>> 
>>
>-----------------------------------------------------------------------
>> -------
>> Free Software Download: Index, Search & Analyze Logs and other IT data
>> in
>> Real-Time with Splunk. Collect, index and harness all the fast moving
>> IT data
>> generated by your applications, servers and devices whether physical,
>> virtual
>> or in the cloud. Deliver compliance at lower cost and gain new
>business
>> insights. http://p.sf.net/sfu/splunk-dev2dev
>> _______________________________________________
>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives:
>http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>
>



------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to