[PyMOL] on save_transformed.py

2015-11-24 Thread Smith Liu
Dear All, In http://pymolwiki.org/index.php/Modeling_and_Editing_Structures there is "save_transformed.py". Will you please show me how to use this script? There is no problem to do "run save_transformed.py". But after click that command, how to get and save the transformed pdb file?

Re: [PyMOL] on save_transformed.py

2015-11-24 Thread Osvaldo Martin
Dear Smith, The line cmd.extend('save_transformed',save_transformed) adds a new command to PyMOL, this command is named save_transformed and what is does is to call the save_transformed function. This function takes two arguments save_transformed(object, file), hence the newly created command