<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jul 31, 2010, at 9:29 AM, Elaine Meng wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Matt,<br>Although there isn't a *specific* command, the general attribute-setting command setattr can be used to assign the "note" attribute of molecule and molecular surface models. Other models also have this attribute, but currently the setattr command will only work for these two types of models (m and s in the following):<br><br>setattr m note "my molecule" #0<br>setattr s note "this is the molecular surface" #0<br><br>Another issue, somewhat of a bug, is that these commands do not trigger the Model Panel to update itself. Instead you have to use the commands before the Model Panel is shown. If you try to add or change a note via the setattr command after the Model Panel is shown, nothing will happen.</div></blockquote><br></div><div>The various problems noted in the above are addressed in the next daily build:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"></span>1) Setting the "note" attribute immediately updates the model panel.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"></span>2) "setattr M" will set the attribute in all models (as opposed to "setattr m" or "setattr s" for molecule and surface models respectively).</div><div><br></div><div>--Eric</div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>Eric Pettersen</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>UCSF Computer Graphics Lab</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> </span><a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a></font></p><br class="Apple-interchange-newline"></div></span> </div><br></body></html>