PS. If it wasn't obvious, this is Python-specific - presumably there are Scheme equivalents like this:
set-map-radius 20 set-show-symmetry-master 1 but I could be wrong about the precise syntax. My (possibly flawed) understanding was that .coot could be either (but not both). On Mon, May 6, 2013 at 12:05 PM, Nat Echols <[email protected]>wrote: > On Mon, May 6, 2013 at 11:44 AM, Joe Batchelor <[email protected]>wrote: > >> Coot is working wonderfully for us. I was hoping to get guidance on how >> to modify initial settings using the .coot file. Apologies if this already >> has been addressed elsewhere. I specifically would like to add lines to the >> .coot file with these results - >> >> 1 - Change initial map radius (Edit -> Map Parameters) to 20*Å >> *2 - Load coot with Hardware stereo on (Draw -> Stereo -> Hardware >> stereo) >> 3 - Load showing symmetry atoms (Draw -> Cell & Symmetry -> Master >> Switch:Show Symmetry Atoms: Yes) >> >> I would greatly appreciate advice on how to modify the .coot file to >> change these settings when coot starts up. >> > > A general piece of advice: you can find out what many of the Coot commands > are by opening the scripting console (e.g. Calculate->Scripting->Python), > guessing a partial command name, and letting the auto-complete show > suggested options. Doing this, starting with "set_map" or "set_show", I > was able to find these for [1] and [3]: > > set_map_radius(20) > set_show_symmetry_master(1) > > Not sure about the hardware stereo - I suspect stereo_mono_toggle or > stereo_mode_state might do the trick, but I'm running it on a Mac laptop so > I'm not going to try either of those. > > -Nat >
