Cheom-gil,

(1) sorry, I don't think there's anyway to override the default color.
However, you could use a Python loop to automatically change the colors
of objects with certain names...for example

# save as colordist.py, then run from File menu

for a in cmd.get_names("objects"):
   if a[0:5]=='wdist':
      cmd.color("blue",a)

# end example

(2) to get the coordinates of the picked (pk1) atom...

# first pick an atom with Ctrl-middle-click, then issue

iterate_state 1,pk1,print (x,y,z)

Cheers,
Warren

--
mailto:war...@delanoscientific.com
Warren L. DeLano, Ph.D. 
Principal
DeLano Scientific LLC
Voice (650)-346-1154 
Fax   (650)-593-4020
 

-----Original Message-----
From: pymol-users-ad...@lists.sourceforge.net
[mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of cheom-gil
cheong
Sent: Saturday, April 12, 2003 8:17 PM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] coloring distance line


Dear All :

When I set lb and rb and then issued distance command, the default color
of 
the dotted line and the distance number is yellow. I change this color 
everytime after I made distance object to make it easy to see. It is
kind of 
tidious job. Can I change the default color of distance object?

I have another question. Can I know xyz coordinate of certain atom in
pymol 
without opening pdb file with editing program?

Many thanks in advance..

Cheomgil Cheong, Ph.D.
Research Associate
Department of Molecular Biology
The Scripps Research Institute
cheomgilche...@hotmail.com
che...@scripps.edu




_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost
and 
disoriented. TotalView can help you find your way. Available on major
UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users


Reply via email to