<div dir="ltr"><p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif">Hello I have a question about
gmx::selection.</span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"></span></p>
<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',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:'Times New Roman',serif">Something like </span></p>
<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"> </span></p>
<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"> options>addOption(SelectionOption("select").required().valueCount(1)</span><span style="font-family:'Times New Roman',serif;font-size:12pt"> </span><span style="font-family:'Times New Roman',serif;font-size:12pt">.store(&sel_)</span><span style="font-family:'Times New Roman',serif;font-size:12pt">.onlyAtoms());</span></p>
<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"> </span></p>
<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif">The problem is that I want "all" 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:'Times New Roman',serif;color:black">.defaultValue</span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',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:'Times New Roman',serif">gmx::selection</span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif;color:black">);</span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"> </span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif;color:black">where running the program and type “–select all” will
work.</span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"></span></p>
<p class="" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif;color:black">So in sort how do you use </span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',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:'Times New Roman',serif"> </span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:'Times New Roman',serif;font-size:16px">//Anders (wokring at bmc during this summer)</span><br></p>
<p class=""><span lang="EN-US"> </span></p></div>