<?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 Change color/highlight specific elements from MEP and ELE programmatically in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/change-color-highlight-specific-elements-from-mep-and-ele/m-p/10728263#M22744</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Revit APIs. I am figuring out ways to highlight only selected elements from pipes and lighting devices by changing their colors to bright red or so, similar to Paint functionality for Walls. I also want the highlight to remain in the render as well. How can I do that in Revit and also is there a way to achieve it programmatically using element ids (I see that this can be achieved for solid elements using Paint API, but Paint doesn't seem to work for Pipes if I am not wrong). Any leads in this regard will be helpful. Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 16:14:55 GMT</pubDate>
    <dc:creator>sivaranjani.jayaprakash</dc:creator>
    <dc:date>2021-11-01T16:14:55Z</dc:date>
    <item>
      <title>Change color/highlight specific elements from MEP and ELE programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-color-highlight-specific-elements-from-mep-and-ele/m-p/10728263#M22744</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Revit APIs. I am figuring out ways to highlight only selected elements from pipes and lighting devices by changing their colors to bright red or so, similar to Paint functionality for Walls. I also want the highlight to remain in the render as well. How can I do that in Revit and also is there a way to achieve it programmatically using element ids (I see that this can be achieved for solid elements using Paint API, but Paint doesn't seem to work for Pipes if I am not wrong). Any leads in this regard will be helpful. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 16:14:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-color-highlight-specific-elements-from-mep-and-ele/m-p/10728263#M22744</guid>
      <dc:creator>sivaranjani.jayaprakash</dc:creator>
      <dc:date>2021-11-01T16:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change color/highlight specific elements from MEP and ELE programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-color-highlight-specific-elements-from-mep-and-ele/m-p/10728377#M22745</link>
      <description>&lt;P&gt;Welcome to the Revit API!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, I recommend looking carefully at the getting started material:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you should always explore how to solve a task in the user interface before trying to address it programmatically. Otherwise, you might end up wasting a lot of effort going in the wrong direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to dive straight in to programming, though you can take a look at the Revit SDK samples&amp;nbsp;VisibilityControl and ViewFilters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 17:19:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-color-highlight-specific-elements-from-mep-and-ele/m-p/10728377#M22745</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-11-01T17:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change color/highlight specific elements from MEP and ELE programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-color-highlight-specific-elements-from-mep-and-ele/m-p/10728398#M22746</link>
      <description>&lt;P&gt;I would look into the &lt;A href="https://www.revitapidocs.com/2022/b0aaf230-e034-8466-c1e4-1d91e7162d19.htm" target="_blank" rel="noopener"&gt;SelectionFilterElement&lt;/A&gt; class. You could create a filter based on your current selection and apply it to the view, setting everything in the selection to a specific color using &lt;A href="https://www.revitapidocs.com/2022/eb2bd6b6-b7b2-5452-2070-2dbadb9e068a.htm" target="_blank" rel="noopener"&gt;OverrideGraphicSettings&lt;/A&gt; like in the example from the SelectionFilterElement link.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 17:31:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-color-highlight-specific-elements-from-mep-and-ele/m-p/10728398#M22746</guid>
      <dc:creator>AGGilliam</dc:creator>
      <dc:date>2021-11-01T17:31:27Z</dc:date>
    </item>
  </channel>
</rss>

