<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Set Selection Resolution in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13744319#M8216</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13960935"&gt;@imustafa_adel&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You asked me how to read the value of 'Selection Resolution' (by contacting me via chat message).&lt;BR data-start="121" data-end="124" /&gt;Here is the answer.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt; using (LcUOptionLock optionLock = new LcUOptionLock())
 {
     // Get the root options using the lock
     LcUOptionSet rootOptions = LcUOption.GetRoot(optionLock);
     LcUNameRefPtr s=rootOptions.GetName("interface.selection.resolution");
     MessageBox.Show(s.GetPtr().ToString());            
 }&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR data-start="143" data-end="146" data-is-only-node="" /&gt;I'm posting it here so that others with similar questions can also refer to this thread and find the answer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jul 2025 10:29:34 GMT</pubDate>
    <dc:creator>naveen.kumar.t</dc:creator>
    <dc:date>2025-07-29T10:29:34Z</dc:date>
    <item>
      <title>Set Selection Resolution</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13219575#M206</link>
      <description>&lt;P&gt;Is there a way to alter the resolution programmatically?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;File,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Layer,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;First Object,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Last Object,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Last Unique,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Geometry.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 19 Dec 2024 02:12:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13219575#M206</guid>
      <dc:creator>xaotix</dc:creator>
      <dc:date>2024-12-19T02:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Selection Resolution</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13219710#M207</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1098104"&gt;@xaotix&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try using the below code&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt; using (LcUOptionLock optionLock = new LcUOptionLock())
 {
     // Get the root options using the lock
     LcUOptionSet rootOptions = LcUOption.GetRoot(optionLock);

     // Retrieve the pointer to the specific option by name
     LcUNameRefPtr optionPointer = rootOptions.GetName("interface.selection.resolution");

     // Check if the pointer exists before attempting to set the value
     if (optionPointer != null)
     {
         /*
          * Selection Resolution Options:
          *  0 = File
          *  1 = Layer
          *  2 = First Object
          *  3 = Last Unique
          *  4 = Last Object
          *  5 = Geometry
          */

         // Update the selection resolution option to "Geometry" (value 5)
         string resolutionValue = "RoamerGUI_PickResolution:5";
         rootOptions.SetName("interface.selection.resolution", new NamedConstant(resolutionValue));
         LcOpRegistry.SaveGlobalOptions();
     }
 }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 05:07:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13219710#M207</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2024-12-19T05:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Selection Resolution</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13219861#M208</link>
      <description>For Navisworks Simulate 2024 you can write some code which modifies this registry key:&lt;BR /&gt;HKEY_CURRENT_USER\SOFTWARE\Autodesk\Navisworks Simulate\21.0\GlobalOptions\interface\selection&lt;BR /&gt;&lt;BR /&gt;the default value is:&lt;BR /&gt;Name: Resolution&lt;BR /&gt;Data: 8 26:RoamerGUI_PickResolution:4Last Object&lt;BR /&gt;&lt;BR /&gt;Note that for Navisworks 2024 you alter version 210.0 since Navisworks 2024 is Navisworks version 21&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Br&lt;BR /&gt;Ulrik&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Dec 2024 07:23:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13219861#M208</guid>
      <dc:creator>ulski1</dc:creator>
      <dc:date>2024-12-19T07:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Selection Resolution</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13224384#M209</link>
      <description>&lt;P&gt;An old post of mine, with all Navisworks Global Settings at the time (Navisworks 2020) and how to read/change them:&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;A title="Accessing &amp;amp; Modifying Navisworks Global Settings" href="https://forums.autodesk.com/t5/navisworks-api/accessing-amp-modifying-navisworks-global-settings/m-p/9809803" target="_self"&gt;Accessing &amp;amp; Modifying Navisworks Global Settings&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2024 21:17:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13224384#M209</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2024-12-21T21:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Selection Resolution</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13256706#M210</link>
      <description>&lt;P&gt;thank you guys!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 22:16:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13256706#M210</guid>
      <dc:creator>xaotix</dc:creator>
      <dc:date>2025-01-12T22:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Selection Resolution</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13744319#M8216</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13960935"&gt;@imustafa_adel&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You asked me how to read the value of 'Selection Resolution' (by contacting me via chat message).&lt;BR data-start="121" data-end="124" /&gt;Here is the answer.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt; using (LcUOptionLock optionLock = new LcUOptionLock())
 {
     // Get the root options using the lock
     LcUOptionSet rootOptions = LcUOption.GetRoot(optionLock);
     LcUNameRefPtr s=rootOptions.GetName("interface.selection.resolution");
     MessageBox.Show(s.GetPtr().ToString());            
 }&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR data-start="143" data-end="146" data-is-only-node="" /&gt;I'm posting it here so that others with similar questions can also refer to this thread and find the answer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 10:29:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13744319#M8216</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2025-07-29T10:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Selection Resolution</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13752371#M8218</link>
      <description>&lt;P&gt;Thank you I've also refined the method a little bit as shown below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public static void SetSelectionResolution(SelectionResolution selectionResolution)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var commandstr = "interface.selection.resolution";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (LcUOptionLock optionLock = new LcUOptionLock())&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LcUOptionSet rootOptions = LcUOption.GetRoot(optionLock);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LcUNameRefPtr optionPointer = rootOptions.GetName(commandstr);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (optionPointer != null)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string resolutionValue = "RoamerGUI_PickResolution:2";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (selectionResolution)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case SelectionResolution.File:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resolutionValue = "RoamerGUI_PickResolution:0";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case SelectionResolution.Layer:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resolutionValue = "RoamerGUI_PickResolution:1";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case SelectionResolution.FirstObject:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resolutionValue = "RoamerGUI_PickResolution:2";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case SelectionResolution.LastUnique:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resolutionValue = "RoamerGUI_PickResolution:3";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case SelectionResolution.LastObject:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resolutionValue = "RoamerGUI_PickResolution:4";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case SelectionResolution.Geometry:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resolutionValue = "RoamerGUI_PickResolution:5";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rootOptions.SetName(commandstr, new NamedConstant(resolutionValue));&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LcOpRegistry.SaveGlobalOptions();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;public static SelectionResolution GetSelectionResolution()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var res = string.Empty;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (LcUOptionLock optionLock = new LcUOptionLock())&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var commandstr = "interface.selection.resolution";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LcUOptionSet rootOptions = LcUOption.GetRoot(optionLock);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LcUNameRefPtr optionPointer = rootOptions.GetName(commandstr);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var data = new VariantData();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var result = rootOptions.GetDataValue(commandstr, data);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (result) res = data.ToNamedConstant().Name;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (res)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case "RoamerGUI_PickResolution:0":&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SelectionResolution.File;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case "RoamerGUI_PickResolution:1":&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SelectionResolution.Layer;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case "RoamerGUI_PickResolution:2":&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SelectionResolution.FirstObject;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case "RoamerGUI_PickResolution:3":&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SelectionResolution.LastUnique;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case "RoamerGUI_PickResolution:4":&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SelectionResolution.LastObject;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case "RoamerGUI_PickResolution:5":&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SelectionResolution.Geometry;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SelectionResolution.FirstObject;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;public enum SelectionResolution&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Layer,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FirstObject,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LastUnique,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LastObject,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Geometry&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 08:48:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/set-selection-resolution/m-p/13752371#M8218</guid>
      <dc:creator>imustafa_adel</dc:creator>
      <dc:date>2025-08-04T08:48:10Z</dc:date>
    </item>
  </channel>
</rss>

