<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p class="MsoNormal">Dear UCSF Chimera Team:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please, I would much appreciate your advice on the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">First issue:<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify">Given a number of planes - calculated/created through the ‘define’ command - I would like to select one of them, with some command entered at the command line …. How can I do it?<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:justify">The reason why I want to select it through the command line, and not by directly by clicking at it at the axes/planes/centroids table, is because later I would like to use the command inside a runCommand statement,
in a Python/IDLE script (with *.py extension) …<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:justify">Second issue:<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify">By the way, do you think this piece of code could work?<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify">Assume that the desired plane is already selected …. I want to internally handle the plane as ‘p1’ in my Python code:<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:justify">p1= chimera.Plane()<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify">from chimera import selection<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify">p1= selection<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:justify">or perhaps this single instruction …..
<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify">p1= chimera.selection<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:justify">Let me try to explain: Within my Python code, I want to have a way to make reference to a plane created by the ‘define’ command ( should I call it a ‘ handle’? … not sure whether it is the correct term …).<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:justify">Well, I hope that I managed to make it sufficiently clear … Thanks in advance for your kind attention.<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify">Cheers,<o:p></o:p></p>
<p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>
<p></p>
<p class="MsoNormal" style="text-align:justify">Juan<o:p></o:p></p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif">
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0in 0in 0pt"><span lang="ES"><font face="Times New Roman"><br>
</font></span></p>
<p class="MsoNormal" style="margin:0in 0in 0pt"><span lang="ES"><font face="Times New Roman">Dr. Juan Pablo Reyes Valverde</font></span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0in 0in 0pt"><span lang="ES"><font face="Times New Roman"> </font></span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0in 0in 0pt"><span lang="ES"><font face="Times New Roman">Laboratorio de Neurobiología Molecular y Celular (D15)<br>
Instituto de Neurobiología UNAM<br>
Campus UNAM Juriquilla</font></span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0in 0in 0pt"><span lang="ES"><font face="Times New Roman">Boulevard Juriquilla 3001<br>
Querétaro, QRO CP 76230<br>
MÉXICO </font></span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0in 0in 0pt"><span lang="ES"><font face="Times New Roman"> </font></span></p>
<font face="Times New Roman"></font>
<p class="MsoNormal" style="margin:0in 0in 0pt"><span lang="ES"><font face="Times New Roman">Tel
<span class="skypepnhprintcontainer1340201850">+52 (442) 2381064</span></font></span></p>
<font face="Times New Roman"></font></div>
</div>
</div>
</body>
</html>