[chimerax-users] Assistance: ChimeraX save scene

Guillaume Gaullier guillaume at gaullier.org
Mon Oct 12 00:41:36 PDT 2020


Hi Priyanka,

If what you need is a command that can restore the camera’s position to a previously saved state after you moved it, then this should be helpful:

1. set the scene the way you want it
2. run command "view name myview" ("myview" can be any name); what this does is assign a name to the current view (camera settings)
3. rotate or translate, move around, etc.
4. run command "view myview", which should reset the camera settings to what they were when you did step 2 above

I believe named views are saved with the session, so you should be able to use them even after you save and close, then reopen your .cxs file.

You will find more details in the documentation, with command "help view". Also here: https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name <https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name>

I hope this helps,

Guillaume


> On 11 Oct 2020, at 22:10, Priyanka Abeyrathne <pabeyrat at gmail.com> wrote:
> 
> Hi All,
> 
> Is there a save scene command in ChimeraX?
> 
> Thanks,
> Priyanka
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201012/ae4b9f97/attachment.html>


More information about the ChimeraX-users mailing list