The whole website was down. It is back up now, try again. Yes, you would use the "distance" command.
command:
<https://www.cgl.ucsf.edu/chimerax/docs/user/commands/distance.html>
Distances tool:
<https://www.cgl.ucsf.edu/chimerax/docs/user/tools/distances.html>
If you use the Distances tool it will show the commands that it uses in the Log. Most GUI actions are shown as commands in the Log so that you can see examples of the commands even if you don't look at the help pages. However, you should look at the help pages because they are written so that we don't have to repeat the same information all the time in email.
Elaine
> On Mar 18, 2024, at 1:25 AM, Enrico Martinez via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
>
> Sorry it seems that I composed my message incorrectly !
>
> Actually I was able to draw distances manually using chimera-x GUI buy just need to understand whether it would be possible to script adding the chain of the commands directly to my visualisation script.
>
> P.S. at the present moment the help page
> https://www.cgl.ucsf.edu/chimerax/docs/user/tools/distances.html
>
> does not work at all !
>
> Yours with thanks
>
> Enrico
>
> Il giorno dom 17 mar 2024 alle ore 23:40 Greg Couch <gregc@cgl.ucsf.edu> ha scritto:
> I'd say "https://letmegooglethat.com/?q=chimerax+distance" but the
> resulting links don't work for me. But using google.com directly does.
> The top two links are ChimeraX's distance command and the Distances
> tool. So
> https://www.cgl.ucsf.edu/chimerax/docs/user/commands/distance.html and
> https://www.cgl.ucsf.edu/chimerax/docs/user/tools/distances.html. Using
> the Distances tool might be the easiest way to start. If you click on
> Create, it tells you to select two atoms. So do that and then click on
> Create. You will see the corresponding distance command, that you could
> type in, shown in the Log. The documentation gives several other ways
> to show distances. I recommend learning to read the documentation :-).
> An aside, you can toggle whether the links in the Log take you to the
> documentation for the command or repeat the command, by right-mouse
> clicking on the Log and selecting Executable Command LInks.
>
> HTH,
>
> Greg
>
> On 3/17/2024 2:57 PM, Enrico Martinez via ChimeraX-users wrote:
> > Dear ChimeraX users !
> >
> > I need to draw several distance vectors on the 3D structure. Could you
> > provide me with an example of the commands that could automatically
> > draw the distances between two selected atoms with some basic labels
> > on it ?
> >
> > Many thanks in advance
> >
> > Enrico