<?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 Highlight elements from a linked document in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12768033#M5314</link>
    <description>&lt;P&gt;The past 2 days I was scratching my head of how to highlight an element from a linked document. I tried many API statement and I also found out there are many posts requesting the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/how-to-select-linked-element-by-element-id/m-p/8245634" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/how-to-select-linked-element-by-element-id/m-p/8245634&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/highlight-and-tag-linked-elements/m-p/5294217" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/highlight-and-tag-linked-elements/m-p/5294217&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/how-to-highlight-element-in-linked-model-by-api/m-p/9945959" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/how-to-highlight-element-in-linked-model-by-api/m-p/9945959&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/high-light-link-element/m-p/11111305" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/high-light-link-element/m-p/11111305&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/can-t-select-elements-in-a-linked-model/m-p/12681983" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/can-t-select-elements-in-a-linked-model/m-p/12681983&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also realized that this has been &lt;A href="https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701" target="_blank" rel="noopener"&gt;a wish since 2017, which was some how disappointing&lt;/A&gt;. The good news, after some readings over the Revit API Doc, it seems this wish have been granted since Revit 2023.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A new Selection function called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2023/813a9d31-bc4f-1ebc-9a7b-69a2a99d22ac.htm" target="_blank" rel="noopener"&gt;SetReferences&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has been added, allowing elements to be highlighted via set of references. We don't (at least for me) often use references to highlight elements, but rather to set hosts, like placing hosted families or extracting element IDs from a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2023/36f82b40-1065-2305-e260-18fc618e756f.htm" target="_blank" rel="noopener"&gt;ReferenceIntersector&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or when selecting by picking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if we provide the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SetReferences&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function with references from a linked document, will it work? In theory, yes, it should work. However, some extra work is required to capture such element references. Firstly, we need to understand that this function operates on the currently active document. This means that the references we provide must be in a format that the current document can recognize to highlight them in the current view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's attempt to highlight a face from an element in a linked document in the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Click on a point over one of the faces in a linked document.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then, pass this reference to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SetReferences, and it will highlight the face from the linked document.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Similarly, if you press Tab to cycle through line, face, and object, once you reach the object, select it to get the object reference.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var linkedFaceReference = UiDoc.Selection.PickObject(
    Autodesk.Revit.UI.Selection.ObjectType.PointOnElement
);
UiDoc.Selection.SetReferences([linkedFaceReference]);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, this only happens when a user interacts with the UI. But what if I have an element ID from a linked document that I want to highlight? The real question then becomes, how can I extract a reference from an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ElementId&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that belongs to a linked document?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is achievable, but not directly from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ElementId; we need to work with the element itself. First, we need to get the element from the linked document, then create a reference for this element. However, we can't use this reference as it's only meaningful to the linked document, not the current one. Therefore, we must convert this reference to the current document using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2020/919d7d3f-f8c2-eb12-4069-0022c20fa13a.htm" target="_blank" rel="noopener"&gt;CreateLinkReference&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2020/a3a27c39-75bf-67d1-ae78-4cadd49a9c8e.htm" target="_blank" rel="noopener"&gt;RevitLinkInstance&lt;/A&gt;. It might sound confusing, but I've included the code below to demonstrate how it functions clearly. So if you have the linked ElementId, you can directly start from line 10, without the need for selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the example code below for easy reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="highlight Linked Element.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1361019iF45FA7F22C84F26A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="highlight Linked Element.gif" alt="highlight Linked Element.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var pickedReference = UiDoc.Selection.PickObject(
    Autodesk.Revit.UI.Selection.ObjectType.PointOnElement
);

// get Revit link Instance and its document
var linkedRvtInstance = Doc.GetElement(pickedReference) as RevitLinkInstance;
var linkedDoc = linkedRvtInstance.GetLinkDocument();

//get the Linked element from the linked document
var linkedElement = linkedDoc.GetElement(pickedReference.LinkedElementId);

// now create a reference from this element [ this is a reference inside the linked document]
var reference = new Reference(linkedElement);

// convert the reference to be readable from the current document
reference = reference.CreateLinkReference(linkedRvtInstance);

// now the linked element is highlighted
UiDoc.Selection.SetReferences([reference]);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 May 2024 19:42:22 GMT</pubDate>
    <dc:creator>Moustafa_K</dc:creator>
    <dc:date>2024-05-12T19:42:22Z</dc:date>
    <item>
      <title>Highlight elements from a linked document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12768033#M5314</link>
      <description>&lt;P&gt;The past 2 days I was scratching my head of how to highlight an element from a linked document. I tried many API statement and I also found out there are many posts requesting the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/how-to-select-linked-element-by-element-id/m-p/8245634" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/how-to-select-linked-element-by-element-id/m-p/8245634&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/highlight-and-tag-linked-elements/m-p/5294217" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/highlight-and-tag-linked-elements/m-p/5294217&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/how-to-highlight-element-in-linked-model-by-api/m-p/9945959" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/how-to-highlight-element-in-linked-model-by-api/m-p/9945959&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/high-light-link-element/m-p/11111305" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/high-light-link-element/m-p/11111305&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/can-t-select-elements-in-a-linked-model/m-p/12681983" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/can-t-select-elements-in-a-linked-model/m-p/12681983&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also realized that this has been &lt;A href="https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701" target="_blank" rel="noopener"&gt;a wish since 2017, which was some how disappointing&lt;/A&gt;. The good news, after some readings over the Revit API Doc, it seems this wish have been granted since Revit 2023.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A new Selection function called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2023/813a9d31-bc4f-1ebc-9a7b-69a2a99d22ac.htm" target="_blank" rel="noopener"&gt;SetReferences&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has been added, allowing elements to be highlighted via set of references. We don't (at least for me) often use references to highlight elements, but rather to set hosts, like placing hosted families or extracting element IDs from a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2023/36f82b40-1065-2305-e260-18fc618e756f.htm" target="_blank" rel="noopener"&gt;ReferenceIntersector&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or when selecting by picking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if we provide the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SetReferences&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function with references from a linked document, will it work? In theory, yes, it should work. However, some extra work is required to capture such element references. Firstly, we need to understand that this function operates on the currently active document. This means that the references we provide must be in a format that the current document can recognize to highlight them in the current view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's attempt to highlight a face from an element in a linked document in the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Click on a point over one of the faces in a linked document.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then, pass this reference to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SetReferences, and it will highlight the face from the linked document.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Similarly, if you press Tab to cycle through line, face, and object, once you reach the object, select it to get the object reference.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var linkedFaceReference = UiDoc.Selection.PickObject(
    Autodesk.Revit.UI.Selection.ObjectType.PointOnElement
);
UiDoc.Selection.SetReferences([linkedFaceReference]);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, this only happens when a user interacts with the UI. But what if I have an element ID from a linked document that I want to highlight? The real question then becomes, how can I extract a reference from an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ElementId&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that belongs to a linked document?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is achievable, but not directly from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ElementId; we need to work with the element itself. First, we need to get the element from the linked document, then create a reference for this element. However, we can't use this reference as it's only meaningful to the linked document, not the current one. Therefore, we must convert this reference to the current document using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2020/919d7d3f-f8c2-eb12-4069-0022c20fa13a.htm" target="_blank" rel="noopener"&gt;CreateLinkReference&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2020/a3a27c39-75bf-67d1-ae78-4cadd49a9c8e.htm" target="_blank" rel="noopener"&gt;RevitLinkInstance&lt;/A&gt;. It might sound confusing, but I've included the code below to demonstrate how it functions clearly. So if you have the linked ElementId, you can directly start from line 10, without the need for selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the example code below for easy reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="highlight Linked Element.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1361019iF45FA7F22C84F26A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="highlight Linked Element.gif" alt="highlight Linked Element.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var pickedReference = UiDoc.Selection.PickObject(
    Autodesk.Revit.UI.Selection.ObjectType.PointOnElement
);

// get Revit link Instance and its document
var linkedRvtInstance = Doc.GetElement(pickedReference) as RevitLinkInstance;
var linkedDoc = linkedRvtInstance.GetLinkDocument();

//get the Linked element from the linked document
var linkedElement = linkedDoc.GetElement(pickedReference.LinkedElementId);

// now create a reference from this element [ this is a reference inside the linked document]
var reference = new Reference(linkedElement);

// convert the reference to be readable from the current document
reference = reference.CreateLinkReference(linkedRvtInstance);

// now the linked element is highlighted
UiDoc.Selection.SetReferences([reference]);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2024 19:42:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12768033#M5314</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2024-05-12T19:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight elements from a linked document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12768787#M5315</link>
      <description>&lt;P&gt;I used to work with a similar task in the past to highlight elements from a linked document without success, so I have to compromise that once I have gather all linked element data that I need, I will open the linked document to highlight those elements. In doing so, it will unload the linked document and open it in a new Revit tab, quite inconvenient.&lt;BR /&gt;To be honest, I never think of using references as you have proposed. Very interesting idea. I can still learn from something I have worked on like 3 years ago.&amp;nbsp;&lt;BR /&gt;Just out of curiosity, have you succeeded with this idea yet? And may be it should be posted somewhere else so people can see this as an proposed idea instead of a question without mark of resolution. Thank you for sharing, I will try this sometime soon.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 07:05:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12768787#M5315</guid>
      <dc:creator>longt61</dc:creator>
      <dc:date>2024-05-13T07:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight elements from a linked document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12768825#M5316</link>
      <description>&lt;P&gt;Thanks! I have placed it on my fresh starting blog, that I will usually journal my findings there as well as placing it here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://sharpbim.hashnode.dev/highlight-elements-from-a-linked-document" target="_blank" rel="noopener"&gt;https://sharpbim.hashnode.dev/highlight-elements-from-a-linked-document&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and yes the proposed solution is tested and works for me... I will be glad to know if there is any exception to this methodology.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 07:34:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12768825#M5316</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2024-05-13T07:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight elements from a linked document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12769427#M5317</link>
      <description>&lt;P&gt;Thank you for researching and documenting this approach. I am sure many will find it very useful. I shared it on The Building Coder blog:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2024/05/lengthen-ducts-and-highlight-links.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2024/05/lengthen-ducts-and-highlight-links.html#2&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I see that you also started your own blog. Congratulations! I wish you lots of luck and much success with that!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 12:37:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12769427#M5317</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-05-13T12:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight elements from a linked document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12771251#M5318</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;, so glad to read this topic on your blog &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 06:12:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12771251#M5318</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2024-05-14T06:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight elements from a linked document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12772363#M5319</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/549406"&gt;@Moustafa_K&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the ability to properly highlight selected link elements is newer than the ability to programmatically select them you may also want to include references to, or info from, this post about highlighting those elements:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/selection-of-linked-elements-does-not-look-correct/m-p/12616047#M77187" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/selection-of-linked-elements-does-not-look-correct/m-p/12616047#M77187&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-G&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 13:48:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/highlight-elements-from-a-linked-document/m-p/12772363#M5319</guid>
      <dc:creator>GaryOrrMBI</dc:creator>
      <dc:date>2024-05-14T13:48:37Z</dc:date>
    </item>
  </channel>
</rss>

