<div dir="ltr"><p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Hello I have a question about
gmx::selection.</span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"></span></p>

<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">I want to have an option where you select witch atoms
you want to analyze and get there coordinates.</span></p>

<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Something like </span></p>

<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> </span></p>

<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">                                            options&gt;addOption(SelectionOption(&quot;select&quot;).required().valueCount(1)</span><span style="font-family:&#39;Times New Roman&#39;,serif;font-size:12pt"> </span><span style="font-family:&#39;Times New Roman&#39;,serif;font-size:12pt">.store(&amp;sel_)</span><span style="font-family:&#39;Times New Roman&#39;,serif;font-size:12pt">.onlyAtoms());</span></p>


<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> </span></p>

<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">The problem is that I want &quot;all&quot; to be default
options and I don’t know how to implement it. </span></p>

<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif;color:black">.defaultValue</span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif;color:black">(all).  
Won’t work (the input need to be of type </span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">gmx::selection</span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif;color:black">);</span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> </span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif;color:black">where running the program and type “–select all” will
work.</span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"></span></p>

<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif;color:black">So in sort how do you use </span><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">SelectionOption to select “all” by default?</span></p>


<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> </span></p>

<p class="" style="margin-bottom:0.0001pt"><span style="font-family:&#39;Times New Roman&#39;,serif;font-size:16px">//Anders (wokring at bmc during this summer)</span><br></p>

<p class=""><span lang="EN-US"> </span></p></div>