Next: , Previous: Simplex Refinement, Up: Modelling and Building


5.6 Post-manipulation-hook

If you wanted automatically run a function after a model has been manipulated then you can do so using by creating a function that takes 2 arguments, such as:

(post-manipulation-hook imol manipulation-mode)

manipulation-mode is one of (DELETED), (MUTATED) or (MOVINGATOMS).

And of course imol is the model number of the maniplated molecule.

(It would of course be far more useful if this function was also passed a list of residues - that is something for the future).