<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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);">
<span style="font-family: Arial, Helvetica, sans-serif;">Oliver,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">SEQCROW might be able to help with your second question. If you go to Favorites/Preferences -> Settings... -> SEQCROW tab (you will have to restart ChimeraX after installing SEQCROW to see this), one
of the options is 'commands to execute when a model is added'. You can prefix the command with a file type and use <model> in place of the model's ID. For example:</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">cub,cube: volume <model> level -0.018 level 0.018 color red color blue; trans <model> 50</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">cif: color <model> blue</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">will execute that `volume` command whenever a *.cub or *.cube file is opened and will color all *.cif models blue. Currently SEQCROW guesses the file type using the model's "filename" attribute, which
isn't always set. It will also fire if the model name starts with "ext:" (e.g. "smiles:"). I've recently learned of a more accurate way to figure out the file type (thanks Eric!) which I'll use in the next version of SEQCROW.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">Hope that helps,</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">Tony</span><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> ChimeraX-users <chimerax-users-bounces@cgl.ucsf.edu> on behalf of Oliver Clarke <olibclarke@gmail.com><br>
<b>Sent:</b> Saturday, May 29, 2021 3:33 PM<br>
<b>To:</b> ChimeraX Users Help <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> [chimerax-users] Change default volume display settings?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[EXTERNAL SENDER - PROCEED CAUTIOUSLY]<br>
<br>
<br>
Hi,<br>
<br>
Is there any way in ChimeraX to change default volume display settings? For example, I would like to set all volumes to "step 1" by default - in Chimera I can set these defaults in the Volume Viewer menu but I can't see an equivalent in ChimeraX.<br>
<br>
Sort of related - I wonder if it would be possible to have the option to set default display preferences for molecules or maps? Or more generally, have a script that executes when a file of a particular type is loaded - similar to how the startup commands are
executed when ChimeraX is started, but triggered by the opening of a particular filetype and applied to that particular model?<br>
<br>
Cheers<br>
Oli<br>
_______________________________________________<br>
ChimeraX-users mailing list<br>
ChimeraX-users@cgl.ucsf.edu<br>
Manage subscription:<br>
<a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br>
</div>
</span></font></div>
</body>
</html>