<div dir="ltr">Thanks Elaine,<div><br></div><div>Distances work pretty well for this. I'm doing something like this, which makes the marker so small that I can't see it:</div><div><br></div><div>measure center #1/A:841@CG,CD2,CE2,CZ,CE1,CD1 mark true radius 0.0000001 model #1001<br>distance #1001 #1/A:840@CD2</div><div><br></div><div>One question about the "distance" command. Is it possible to specify the modelId of the distance model that is created? If not, I'd like to suggest this as a useful addition - it would allow better scripting control over showing labels etc (so you know what model # the distances have), and creation of different groups of distances that could be manipulated independently of each other.</div><div><br></div><div>Cheers,</div><div>Alexis<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 2:23 PM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Alexis,<br>
You could use "measure center" with "mark true" to add dummy atoms at the centers of rings. We are working on axes/planes/centroids functionality similar to that available in Chimera, but it is not yet available.<br>
<<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/measure.html#center" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/measure.html#center</a>><br>
<br>
Then one way to draw a dashed line is to add a distance monitor between any pair of atoms, then edit line appearance in the Distances tool (in menu under Tools... Structure Analysis). You can hide the distance labels by unchecking the "shown" checkbox (under the eye icon) for the labels model in the Model Panel. You may need to use the disclosure triangle to show the "labels" submodel of "distances" model.<br>
<<a href="http://rbvi.ucsf.edu/chimerax/docs/user/tools/distances.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/tools/distances.html</a>><br>
<<a href="http://rbvi.ucsf.edu/chimerax/docs/user/tools/modelpanel.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/tools/modelpanel.html</a>><br>
<br>
I believe you have to show the atoms on both ends for the pseudobond to remain visible, however. If you hide one atom, that hides the pseudobond. You could make the atom's radius small (see "size") or make it 100% transparent (see "transparency"), e.g.<br>
<br>
transparency sel 100 target a<br>
<br>
<<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/size.html</a>><br>
<<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/transparency.html" rel="noreferrer" target="_blank">http://rbvi.ucsf.edu/chimerax/docs/user/commands/transparency.html</a>><br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D.<br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
> On Mar 5, 2020, at 1:58 PM, Alexis Rohou <<a href="mailto:a.rohou@gmail.com" target="_blank">a.rohou@gmail.com</a>> wrote:<br>
> <br>
> Hi all,<br>
> <br>
> Looking for ideas on how to achieve the following, if possible: <br>
> <br>
> I'd like to draw lines to represent favorable ring-ring stacking interactions (lines between the center of two arene rings), ring-ring edge-to-face interactions (between one atom of one ring and the center of the other ring), and between a regular atom (not part of a ring) and the center of an arene ring.<br>
> <br>
> So I'm guess what I'm looking for is a way to:<br>
> 1. compute the center coordinates of a ring<br>
> 2. place an invisible atom there<br>
> 3. create a pseudobond between this virtual atom and other atoms/virtual atoms<br>
> <br>
> Any suggestions as to how I could achieve this?<br>
> <br>
> Cheers,<br>
> Alexis<br>
<br>
</blockquote></div>