From: DeLano, W. <wa...@su...> - 2002-10-30 21:05:33
|
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:mo...@ar...] Sent: Wednesday, October 30, 2002 10:13 AM To: pym...@li... 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=20 Associate Professor=20 Complex Carbohydrate Research Center Department of Biochemistry and Molecular Biology=20 University of Georgia, Athens, GA 30602-7229=20 Office (706) 542-1705 Fax: (706) 542-1759 Email: mo...@ar... (send email with large attachments to: mo...@bm...) Website: http://bmbiris.bmb.uga.edu/moremen/lab/=20 |