off the top of my head (i.e. not tested):


(add-key-binding "fix atom" "F"

    (lambda () (mark-atom-as-fixed (car (active-residue)) (cdr
(active-residue)) 1)))



(add-key-binding "clear fixed atoms" "D"

   (lambda () (clear-fixed-atoms-all)))









From: CCP4 bulletin board [mailto:CCP4BB@JISCMAIL.AC.UK] On Behalf Of
Sam Stampfer
Sent: 10 December 2012 16:22
To: CCP4BB@JISCMAIL.AC.UK
Subject: [ccp4bb] Coot keybinding for fixing an atom in place



Dear CCP4 Bulletin Board,

Does anyone have a keybinding I can add to my .coot file so that I can
hit a key (for example, Shift-F) to fix in place the actively selected
atom, without having to go through the fixed atoms dialog box? Also,
does anyone have a keybinding for "Clear Fixed Atoms"?

Thanks!

-Sam


--------------------------------------------------------------------------
AstraZeneca UK Limited is a company incorporated in England and Wales with 
registered number: 03674842 and a registered office at 2 Kingdom Street, 
London, W2 6BD.
Confidentiality Notice: This message is private and may contain confidential, 
proprietary and legally privileged information. If you have received this 
message in error, please notify us and remove it from your system and note that 
you must not copy, distribute or take any action in reliance on it. Any 
unauthorised use or disclosure of the contents of this message is not permitted 
and may be unlawful.
Disclaimer: Email messages may be subject to delays, interception, non-delivery 
and unauthorised alterations. Therefore, information expressed in this message 
is not given or endorsed by AstraZeneca UK Limited unless otherwise notified by 
an authorised representative independent of this message. No contractual 
relationship is created by this message by any person unless specifically 
indicated by agreement in writing other than email.
Monitoring: AstraZeneca UK Limited may monitor email traffic data and content 
for the purposes of the prevention and detection of crime, ensuring the 
security of our computer systems and checking Compliance with our Code of 
Conduct and Policies.

Reply via email to