<?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: Change Selected Items Highlight Color based on parameter in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12566130#M744</link>
    <description>Hi,&lt;BR /&gt;This is to clarify more, I don't want to override the permanent color, I just want to verride the selction highlight color : the color that shows when i select an item.&lt;BR /&gt;Regards</description>
    <pubDate>Sat, 17 Feb 2024 07:24:52 GMT</pubDate>
    <dc:creator>HusseinOthman75</dc:creator>
    <dc:date>2024-02-17T07:24:52Z</dc:date>
    <item>
      <title>Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12563095#M740</link>
      <description>&lt;P&gt;Using automation and Serializing (JSON) i pass data and run plugin which select collection of model items. What i want to do after selection is to override selection highlight color based on parameter :&lt;/P&gt;&lt;P&gt;here the code i tried :&lt;/P&gt;&lt;LI-CODE lang="general"&gt;void OverrideSelectedItemColor(Document _doc, TagNumber _tagNo, ModelItemCollection _mi)
        {
            switch(_tagNo.Status)
            {
                case "RNST":
                case "TESTED":
                case "FLUSHED":
                    _doc.Models.OverridePermanentColor(_mi, Color.Green);
                    break;
                case "RFT":
                case "IPLC":
                    _doc.Models.OverridePermanentColor(_mi, Color.Red);
                    break;
                case "UC":
                    _doc.Models.OverridePermanentColor(_mi, Color.Blue);
                    break;
                default:
                    _doc.Models.OverridePermanentColor(_mi, Color.Blue);
                    break;
            }

        }&lt;/LI-CODE&gt;&lt;P&gt;Where TagNumber is the object after deserializing, and using property "Status" in switch statement i want to set the color of selected items but it is not working and all selected items colored blue (default selection highlight color). I seek your help to resove this issue&lt;/P&gt;&lt;P&gt;Appreciate your support&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 20:34:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12563095#M740</guid>
      <dc:creator>HusseinOthman75</dc:creator>
      <dc:date>2024-02-15T20:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12563664#M741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2214790"&gt;@HusseinOthman75&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please check the value of '_tagNo.Status' and its data type?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 04:16:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12563664#M741</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2024-02-16T04:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12565423#M742</link>
      <description>Hi naveen,&lt;BR /&gt;Thank you for your reply. I check Status property : data type = string , Values similar to values in switch statement.</description>
      <pubDate>Fri, 16 Feb 2024 20:27:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12565423#M742</guid>
      <dc:creator>HusseinOthman75</dc:creator>
      <dc:date>2024-02-16T20:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12565634#M743</link>
      <description>Hi naveen,&lt;BR /&gt;Update : the code is working but colores were covered by the defalut selection color (blue), and i have to click Escape button to remove selection and see the colors, which i don't want. I need the override colors to be seen while the items are selected.</description>
      <pubDate>Fri, 16 Feb 2024 22:19:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12565634#M743</guid>
      <dc:creator>HusseinOthman75</dc:creator>
      <dc:date>2024-02-16T22:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12566130#M744</link>
      <description>Hi,&lt;BR /&gt;This is to clarify more, I don't want to override the permanent color, I just want to verride the selction highlight color : the color that shows when i select an item.&lt;BR /&gt;Regards</description>
      <pubDate>Sat, 17 Feb 2024 07:24:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12566130#M744</guid>
      <dc:creator>HusseinOthman75</dc:creator>
      <dc:date>2024-02-17T07:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12566399#M745</link>
      <description>Hi,&lt;BR /&gt;When i disable Selection Highlight Color using : Options Editor &amp;gt; Interface &amp;gt; Selection : and deselect Enable Check box , then my color show up.&lt;BR /&gt;The question now is can i enable/disable Selection highlight color programmatically?</description>
      <pubDate>Sat, 17 Feb 2024 13:06:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12566399#M745</guid>
      <dc:creator>HusseinOthman75</dc:creator>
      <dc:date>2024-02-17T13:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12568786#M746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2214790"&gt;@HusseinOthman75&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is no API for controlling the selection colour.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I considered changing the color in the registry located at "Computer\HKEY_CURRENT_USER\Software\Autodesk\Navisworks Manage\20.0\GlobalOptions\interface\selection\highlight\colour".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But we do not recommend or support users changing the registry settings directly. &lt;BR /&gt;&lt;BR /&gt;Best option would be to export the selection options to an XML file and then load the when Navisworks starts using the command line option&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 10:06:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12568786#M746</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2024-02-19T10:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12568794#M747</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/navisworks-api/accessing-amp-modifying-navisworks-global-settings/m-p/9809803#M5365" target="_blank"&gt;https://forums.autodesk.com/t5/navisworks-api/accessing-amp-modifying-navisworks-global-settings/m-p/9809803#M5365&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 10:11:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12568794#M747</guid>
      <dc:creator>tetsuya_miwa</dc:creator>
      <dc:date>2024-02-19T10:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change Selected Items Highlight Color based on parameter</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12570589#M748</link>
      <description>&lt;P&gt;and the field(s) seems to be:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;interface.selection.highlight.colour&lt;/LI-CODE&gt;&lt;P&gt;Here red in my settings:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;[0]interface.selection.highlight.colour.red:  =&amp;gt; Double:1
[1]interface.selection.highlight.colour.green:  =&amp;gt; Double:0
[2]interface.selection.highlight.colour.blue:  =&amp;gt; Double:0&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Feb 2024 07:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/change-selected-items-highlight-color-based-on-parameter/m-p/12570589#M748</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2024-02-20T07:07:51Z</dc:date>
    </item>
  </channel>
</rss>

