Re: [chimerax-users] Assistance: ChimeraX save scene

Priyanka, Sorry, but I don’t know the answer to your question off the top of my head, and I won’t have time to figure it out this week. As I already recommended, please email the list chimerax-users@cgl.ucsf.edu <mailto:chimerax-users@cgl.ucsf.edu> (copied to this email) and not me (or anybody else) individually: you will get answers faster this way, because the people who develop ChimeraX monitor this mailing-list and are really good at answering questions; it is also more useful for everybody, since questions and answers sent to the list get archived and become searchable on the list’s website. I hope somebody can help you solve your problem soon. Good luck. Guillaume
On 10 Nov 2020, at 04:36, Priyanka Abeyrathne <pabeyrat@gmail.com> wrote:
Hi Guillaume,
I used the "view name myview" and "view myview" to save the scene in ChimeraX. It worked only one time as scene saved as ---.cxs file. I tried the scene command again but it didn't work. Any suggestions?
Thanks a lot. Priyanka
On Mon, Oct 12, 2020 at 3:41 AM Guillaume Gaullier <guillaume@gaullier.org <mailto:guillaume@gaullier.org>> wrote: 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@gmail.com <mailto:pabeyrat@gmail.com>> wrote:
Hi All,
Is there a save scene command in ChimeraX?
Thanks, Priyanka _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu <mailto:ChimeraX-users@cgl.ucsf.edu> Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>

Answered on the list this morning, please see: <https://www.rbvi.ucsf.edu/pipermail/chimerax-users/2020-November/001635.html> Elaine
On Nov 10, 2020, at 1:17 AM, Guillaume Gaullier <guillaume@gaullier.org> wrote:
Priyanka,
Sorry, but I don’t know the answer to your question off the top of my head, and I won’t have time to figure it out this week. As I already recommended, please email the list chimerax-users@cgl.ucsf.edu (copied to this email) and not me (or anybody else) individually: you will get answers faster this way, because the people who develop ChimeraX monitor this mailing-list and are really good at answering questions; it is also more useful for everybody, since questions and answers sent to the list get archived and become searchable on the list’s website.
I hope somebody can help you solve your problem soon. Good luck.
Guillaume
On 10 Nov 2020, at 04:36, Priyanka Abeyrathne <pabeyrat@gmail.com> wrote:
Hi Guillaume,
I used the "view name myview" and "view myview" to save the scene in ChimeraX. It worked only one time as scene saved as ---.cxs file. I tried the scene command again but it didn't work. Any suggestions?
Thanks a lot. Priyanka
On Mon, Oct 12, 2020 at 3:41 AM Guillaume Gaullier <guillaume@gaullier.org> wrote: 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
I hope this helps,
Guillaume
On 11 Oct 2020, at 22:10, Priyanka Abeyrathne <pabeyrat@gmail.com> wrote:
Hi All,
Is there a save scene command in ChimeraX?
Thanks, Priyanka _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
participants (2)
-
Elaine Meng
-
Guillaume Gaullier