<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Helvetica,Arial,sans-serif'>
<p> </p>
<div>Hello Tom!</div>
<div> </div>
<div>Thank you so much for the script. I think I can call directly to copy_molecule and then add it to the open models list because my plugin already moves the molecule correctly. So simple, so many thanks! I'll check it today inside my plugin!</div>
<div> </div>
<div>Kind regards!</div>
<div><br />
<p><span style="color: #0a4aab;"><strong><span style="font-family: helvetica, arial, sans-serif;"><img style="float: left;" src="cid:e3596d503f6182bae8ee8dd94a5be1a3@delogica.com" alt="" width="77" height="46" /> Pablo Solar Rodríguez<br /> <span style="color: #e88802;"> </span></span></strong></span><span style="font-family: helvetica, arial, sans-serif; color: #ff6600;">pablo.solar@delogica.com</span><span style="font-family: helvetica, arial, sans-serif;"></span><span style="color: #0a4aab;"><strong><span style="font-family: helvetica, arial, sans-serif;"><br /> Delógica - </span></strong><span style="font-family: helvetica, arial, sans-serif; color: #ff6600;"><a style="color: #ff6600;" href="http://www.delogica.com">www.delogica.com</a></span></span></p>
<p><span style="color: #0a4aab;"><span style="color: #000000; font-size: 8pt;"><span style="font-family: helvetica, arial, sans-serif;">España: C/Nuñez de Balboa 31, 2ª Planta - 2, 28001 Madrid, Tel.: (34) 91 431 31 09</span><span style="font-family: helvetica, arial, sans-serif;"><br />Colombia: Edificio Torre Zimma - Carrera 15 88-70 Bogotá, PBX (571) 3000302</span></span></span><span style="font-family: helvetica, arial, sans-serif;"><span style="font-size: 8pt;"><strong> </strong></span> </span></p>
<hr />
<p><span style="color: #999999; font-family: helvetica, arial, sans-serif; font-size: 8pt;"><em><strong><img src="cid:2057ace719ad2697a26fa6a59bed89fd@delogica.com" alt="" width="13" height="13" /> Por favor, antes de imprimir este mensaje, asegúrate de que es necesario. Ayudemos a cuidar el medio ambiente.</strong> </em></span><br /><span style="color: #999999; font-family: helvetica, arial, sans-serif; font-size: 8pt;"><em>Este mensaje puede contener información confidencial o privilegiada. Si le ha llegado por error, rogamos no haga uso del mismo, avise al remitente y bórrelo. Consulte aviso legal. </em></span><br /><span style="color: #999999; font-family: helvetica, arial, sans-serif; font-size: 8pt;"><em>This message may contain confidential or privileged information. If it has been sent to you in error, please do not use it, notify the sender of the error and delete it. See legal notice.</em></span></p>
</div>
<p> </p>
<p>El 07-04-2017 18:52, Tom Goddard escribió:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->Hi Pablo,
<div class=""> </div>
<div class=""> Here is some example Python code for how to copy a molecule and change its atom coordinates. I've added this script to the Chimera Python scripts web page:</div>
<div class=""> </div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><a class="" href="http://plato.cgl.ucsf.edu/trac/chimera/wiki/Scripts">http://plato.cgl.ucsf.edu/trac/chimera/wiki/Scripts</a></div>
<div class=""> </div>
<div class=""> Tom</div>
<div class=""> </div>
<div class=""> </div>
<!-- html ignored --><br /><!-- head ignored --><!-- meta ignored -->
<div class=""> </div>
<div class=""><br class="" />
<div>
<blockquote class="">
<div class="">On Apr 7, 2017, at 1:09 AM, Pablo Solar Rodríguez <<a class="" href="mailto:pablo.solar@delogica.com">pablo.solar@delogica.com</a>> wrote:</div>
<div class="">
<div class="" style="font-size: 10pt; font-family: Helvetica,Arial,sans-serif;">
<div class=""> </div>
<div class="">Hi all!<br class="" /><br class="" />Hope everything is ok! :) I would like to know if there is any smart way to copy/duplicate a Molecule directly to the Model Panel.<br class="" /><br class="" />The plugin I am developing for an exahustive fitting generates N solutions on the same opened Molecule. In this situation, when the process has finished, the user can choose a solution and the Molecule rotates and translates to the associated position. That is, N different positions for each solutions. What I want is to let the user be able to "save" the solution it wants and show it in the Model Panel.<br class="" /><br class="" />An example:<br class="" /><br class="" /><em class="">I've got a chainH.pdb and a ccp4 map. After my exhaustive fitting process, 10 solutions are generated, so chainH can be moved into 10 different positions. Next step is that if user choses the solution number 7, chainH will move and rotate to that 7 solution and the user can save this into the Model Panel with solution7_chainH.pdb name</em>.<br class="" /><br class="" />Is there a simple way to do this? I've checked the Copy/Combine source code (<a class="" href="http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/libs/Combine">http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/libs/Combine</a>) but I want to know if there is a better way and not to "replicate" this code.<br class="" /><br class="" />Thank you all in advance!</div>
<div class=""> </div>
<div class="">
<p class=""><span class="" style="color: #0a4aab;"><strong class=""><span class="" style="font-family: helvetica, arial, sans-serif;"><span id="cid:e3596d503f6182bae8ee8dd94a5be1a3@delogica.com"><e3596d50.png></span> Pablo Solar Rodríguez<br class="" /> <span class="" style="color: #e88802;"> </span></span></strong></span><span class="" style="font-family: helvetica, arial, sans-serif; color: #ff6600;"><a class="" href="mailto:pablo.solar@delogica.com">pablo.solar@delogica.com</a></span><span class="" style="font-family: helvetica, arial, sans-serif;"></span><span class="" style="color: #0a4aab;"><strong class=""><span class="" style="font-family: helvetica, arial, sans-serif;"><br class="" /> Delógica - </span></strong><span class="" style="font-family: helvetica, arial, sans-serif; color: #ff6600;"><a class="" style="color: #ff6600;" href="http://www.delogica.com/">www.delogica.com</a></span></span></p>
<p class=""><span class="" style="color: #0a4aab;"><span class="" style="font-size: 8pt;"><span class="" style="font-family: helvetica, arial, sans-serif;">España: C/Nuñez de Balboa 31, 2ª Planta - 2, 28001 Madrid, Tel.: (34) 91 431 31 09</span><span class="" style="font-family: helvetica, arial, sans-serif;"><br class="" />Colombia: Edificio Torre Zimma - Carrera 15 88-70 Bogotá, PBX (571) 3000302</span></span></span><span class="" style="font-family: helvetica, arial, sans-serif;"><span class="" style="font-size: 8pt;"><strong class=""> </strong></span> </span></p>
<hr class="" />
<p class=""><span class="" style="color: #999999; font-family: helvetica, arial, sans-serif; font-size: 8pt;"><em class=""><strong class=""><span id="cid:2057ace719ad2697a26fa6a59bed89fd@delogica.com"><2057ace7.png></span> Por favor, antes de imprimir este mensaje, asegúrate de que es necesario. Ayudemos a cuidar el medio ambiente.</strong> </em></span><br class="" /><span class="" style="color: #999999; font-family: helvetica, arial, sans-serif; font-size: 8pt;"><em class="">Este mensaje puede contener información confidencial o privilegiada. Si le ha llegado por error, rogamos no haga uso del mismo, avise al remitente y bórrelo. Consulte aviso legal. </em></span><br class="" /><span class="" style="color: #999999; font-family: helvetica, arial, sans-serif; font-size: 8pt;"><em class="">This message may contain confidential or privileged information. If it has been sent to you in error, please do not use it, notify the sender of the error and delete it. See legal notice.</em></span></p>
</div>
<div class=""> </div>
</div>
_______________________________________________<br class="" />Chimera-dev mailing list<br class="" /><a class="" href="mailto:Chimera-dev@cgl.ucsf.edu">Chimera-dev@cgl.ucsf.edu</a><br class="" />http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev</div>
</blockquote>
</div>
</div>
</blockquote>
</body></html>