
I have spent over an hour failing to come up with the command that will move the molecule (and its center of rotation) to the center of the viewport. I see that "cofr all" places the center of rotation in the center of mass of what is loaded. But I have been unable to find the command to move it to the center of the viewport. I realize that I can drag it to approximate center of viewport with right-drag, but I'd like a command to do this. For example, load anything, drag it off center, then what is the command to move it back? Thanks, -Eric

Hi Eric, The ChimeraX command to center the current scene and scale it to fit in the window is view documentation here https://www.cgl.ucsf.edu/chimerax/docs/user/commands/view.html Tom
On Dec 5, 2024, at 2:43 PM, Eric Martz via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
I have spent over an hour failing to come up with the command that will move the molecule (and its center of rotation) to the center of the viewport.
I see that "cofr all" places the center of rotation in the center of mass of what is loaded. But I have been unable to find the command to move it to the center of the viewport.
I realize that I can drag it to approximate center of viewport with right-drag, but I'd like a command to do this.
For example, load anything, drag it off center, then what is the command to move it back?
Thanks, -Eric _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/
participants (2)
-
Eric Martz
-
Tom Goddard