<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
H.<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> Wednesday, May 18, 2022 5:43 PM<br>
<b>To:</b> Hernando J Sosa <hernando.sosa@einsteinmed.edu><br>
<b>Cc:</b> chimera-users@cgl.ucsf.edu BB <chimera-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [Chimera-users] coordset</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook
dashboard to report any suspicious emails.<br>
<br>
Hi Hernando,<br>
You need "wait" commands to enforce ordered execution in a script. I.e.<br>
<br>
coordset #20 1,51; wait 50<br>
turn y 90<br>
coordset #20 1,51<br>
<br>
... or if you're going to put more stuff after the second coordset, you'd want to put it there too. I'd just do this<br>
<br>
coordset #20 1,51; wait 50<br>
turn y 90; wait<br>
coordset #20 1,51; wait 50<br>
<br>
See explanations of command files and "wait"<br>
<<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Findexcommand.html%23cmdfile&data=05%7C01%7Chernando.sosa%40einsteinmed.edu%7C9130ba790b4f46d6173408da39177547%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637885070614959506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oCV%2BBqGre33EdGxUMbibM1S1ODd%2BxjKIDQwCkLYkhos%3D&reserved=0">https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Findexcommand.html%23cmdfile&data=05%7C01%7Chernando.sosa%40einsteinmed.edu%7C9130ba790b4f46d6173408da39177547%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637885070614959506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oCV%2BBqGre33EdGxUMbibM1S1ODd%2BxjKIDQwCkLYkhos%3D&reserved=0</a>><br>
<<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fwait.html&data=05%7C01%7Chernando.sosa%40einsteinmed.edu%7C9130ba790b4f46d6173408da39177547%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637885070614959506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h39jH1op2HbhSG3k1C81e67Toe9AT6tmAsEukaS0dN4%3D&reserved=0">https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fwait.html&data=05%7C01%7Chernando.sosa%40einsteinmed.edu%7C9130ba790b4f46d6173408da39177547%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637885070614959506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h39jH1op2HbhSG3k1C81e67Toe9AT6tmAsEukaS0dN4%3D&reserved=0</a>><br>
<br>
You could also wait longer after the turn, or turn gradually, if you don't want it to be so abrupt.<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 May 18, 2022, at 2:12 PM, Hernando J Sosa via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:<br>
><br>
> Dear Chimera,<br>
><br>
> I am trying to make a movie/animation using coordset in combination with other commands to move the models and noticed that<br>
> the coordset comand is always executed last and only once regardless of the order in which the commands are given in the script.<br>
><br>
> eg: the following script:<br>
><br>
> coordset #20 1,51;<br>
> turn y 90<br>
> coordset #20 1,51<br>
><br>
> results in:<br>
><br>
> turn y 90<br>
> coordset #20 1,51<br>
><br>
> i.e. the first corrdset comand is ignored, the models are rotated and then coordset is run.<br>
><br>
> Is there any way to avoid this behavior? As can be seen form the first script the idea is to run the morph movie in one orientation rotate it and then run it again in the new orientation. Is there an easy way to do this?<br>
><br>
> Thanks<br>
><br>
> H.<br>
<br>
</div>
</span></font></div>
</body>
</html>