This is undocumented:

To get a list of settings:

from pymol import setting
print setting.get_name_list()

To get the current value of a setting:

print setting.get_setting_text("bg_rgb")
print setting.get_setting_text("gamma")

To get a list of names with values:

print map(lambda x:[x,setting.get_setting_text(x)],setting.get_name_list())

etc.

Cheers,
Warren


-----Original Message-----
From: Kelley Moremen [mailto:more...@arches.uga.edu]
Sent: Wednesday, October 30, 2002 10:13 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] Current settings list in Pymol OSX


Dear Pymolers,

Since the Mac OSX version of Pymol does not have a menu interface that has a 
pull-down menu to view and alter the settings, is there any way to display and 
alter the full set of settings from the command line?  I keep forgetting what 
the relevant command line syntax is for changing the settings commands (there 
is only a partial list in the manual) and a global list (as in the pull-down 
menu) is a great reminder, but alas the menu interface is not yet there in the 
Mac OSX version.

Thanks for your help.

Kelley



Dr. Kelley Moremen 
Associate Professor 
Complex Carbohydrate Research Center
Department of Biochemistry and Molecular Biology 
University of Georgia, Athens, GA 30602-7229 
Office (706) 542-1705    Fax: (706) 542-1759
Email: more...@arches.uga.edu
(send email with large attachments to: more...@bmb.uga.edu)
Website: http://bmbiris.bmb.uga.edu/moremen/lab/ 

Reply via email to