<?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 Revit Link Display Settings and Design Options using API in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13382505#M65670</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;The answer is &lt;A title="SetLinkOverrides Method" href="https://www.revitapidocs.com/2024/3ecc27ef-b5f0-26e0-6584-7cb7668ed1f2.htm" target="_blank" rel="noopener"&gt;here&lt;/A&gt;, it is just not working for some reason. Can you please check with the development team, maybe this needs to be reported as a bug.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 00:02:19 GMT</pubDate>
    <dc:creator>Mustafa.Salaheldin</dc:creator>
    <dc:date>2025-03-21T00:02:19Z</dc:date>
    <item>
      <title>Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6322135#M65658</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are developing a plugin that automatically selects the Design options for all the linked models&amp;nbsp;based on an external file (that external file is not even Revit, it could just be a JSON file that lists the design options for linked files).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, we'd like to automate the following screens:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Clicking &amp;nbsp;Edit Visibility/Graphics Override&lt;/LI&gt;&lt;LI&gt;Navigate to "Revit Links" and for each Link, do the following steps:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;a. &amp;nbsp;Click "By Host View"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;b. &amp;nbsp;Select "Custom" (Screenshot 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;c. &amp;nbsp;Navigate to "Design Options"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;d. &amp;nbsp;For each Design Option Set,&amp;nbsp;select the Design Option from the external file (JSON). (Screenshot 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have seen APIs for Categories and Filters, but we weren't able to find an API for Revit Links. We'd be grateful if someone could point us in the right direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screenshot 1: Selecting Custom for Revit Link Display Settings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238900i722948D37D7E560D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-05-12 at 11.40.06 AM.png" title="Screen Shot 2016-05-12 at 11.40.06 AM.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screenshot 2: Selecting Design Option for a Design Option Set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238893i5DCB3591131B6188/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-05-12 at 11.25.36 AM.png" title="Screen Shot 2016-05-12 at 11.25.36 AM.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 06:13:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6322135#M65658</guid>
      <dc:creator>asattar.md</dc:creator>
      <dc:date>2016-05-12T06:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6352248#M65659</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sorry, off-hand I am not aware of any solution for your problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;All I can do is sit down and research and debug just like you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wish you the best of luck and hope you find a solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would love to hear about it when you do!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If worst comes to worst, you know that you can simulate every single user action using the Windows API and the .NET Automation library, don't you?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Building Coder published a number of posts on that topic that may help:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/automation" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/automation&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers, Jeremy.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 10:54:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6352248#M65659</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-05-27T10:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6352497#M65660</link>
      <description>Thanks for replying to this! We have gone through the API extensively (and we're still exploring it in the hope of finding something). We actually have some crude UI automation using Coded UI tests as a fallback. Thanks for replying again!</description>
      <pubDate>Fri, 27 May 2016 13:07:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6352497#M65660</guid>
      <dc:creator>asattar.md</dc:creator>
      <dc:date>2016-05-27T13:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6459388#M65661</link>
      <description>&lt;P&gt;Hi jeremy, I am struggling with somewhat the same question. I want to change the presentation of linked files by using the Visibility/graphics dialog to set the linked files on "BY Linked view" and selecting a desired view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you put the question to make the Revit Link Display settings available in the API on the Revit wishlist ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 09:04:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6459388#M65661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T09:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6486633#M65662</link>
      <description>&lt;P&gt;Same here...&lt;/P&gt;&lt;P&gt;I'm currently trying to access / filter the selection via the Windows API (no luck yet)&lt;/P&gt;&lt;P&gt;have you gotten anything yet?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 07:37:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/6486633#M65662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-09T07:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/7323837#M65663</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you ever able to make progress controlling Revit Links in the way you proposed? I just posted a similar question here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-architecture-forum/rvt-link-display-settings-batch-changes/td-p/7323754" target="_blank"&gt;https://forums.autodesk.com/t5/revit-architecture-forum/rvt-link-display-settings-batch-changes/td-p/7323754&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spencer&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 21:36:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/7323837#M65663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T21:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/11361898#M65664</link>
      <description>&lt;P&gt;Hey guys, it's been 7 years since this issue had been quered. Is there any information if it's going to be implemented in Revit API or not? Feels like nobode really cares abouts that since it had recieved only 4 likes...&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3783076"&gt;@asattar.md&lt;/a&gt;&amp;nbsp;did you manage to succeced with implementation using Windows API?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Kind regards, Roman Golev.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 12:12:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/11361898#M65664</guid>
      <dc:creator>roman.golev</dc:creator>
      <dc:date>2022-08-16T12:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/11558368#M65665</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3229548"&gt;@roman.golev&lt;/a&gt;&amp;nbsp;I don't think we were able to. We had to resort to UI automation iirc.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 06:47:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/11558368#M65665</guid>
      <dc:creator>asattar.md</dc:creator>
      <dc:date>2022-11-17T06:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13380984#M65666</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;is there any update regarding manipulating RVT Links V/G in view template using API?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 09:17:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13380984#M65666</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2025-03-20T09:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13380989#M65667</link>
      <description>&lt;P&gt;Hi Mustafa,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the best way to find out and also to drive this forward os to check out the corresonding wish list item in the Revit Idea Station and, better still, join the Revit Preview forum and ask the developers there directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 09:19:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13380989#M65667</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2025-03-20T09:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13381037#M65668</link>
      <description>&lt;P&gt;Yes, I checked the Wishing list&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MustafaSalaheldin_0-1742462847459.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1479833iABC9E978719B2490/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MustafaSalaheldin_0-1742462847459.png" alt="MustafaSalaheldin_0-1742462847459.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I wished I never went there&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 09:39:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13381037#M65668</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2025-03-20T09:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13382426#M65669</link>
      <description>&lt;P&gt;I managed to find the solution but I receive a very strange message if I tried to set the display mode to anything other than ByHostView:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MustafaSalaheldin_0-1742510860871.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1480079i69BE91EC1E99F8E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MustafaSalaheldin_0-1742510860871.png" alt="MustafaSalaheldin_0-1742510860871.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think with a little tweak, it can be possible. I tested this on Revit 2024.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 00:03:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13382426#M65669</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2025-03-21T00:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13382505#M65670</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;The answer is &lt;A title="SetLinkOverrides Method" href="https://www.revitapidocs.com/2024/3ecc27ef-b5f0-26e0-6584-7cb7668ed1f2.htm" target="_blank" rel="noopener"&gt;here&lt;/A&gt;, it is just not working for some reason. Can you please check with the development team, maybe this needs to be reported as a bug.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 00:02:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13382505#M65670</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2025-03-21T00:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13383039#M65671</link>
      <description>&lt;P&gt;How can we make use of these two BIP's:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MustafaSalaheldin_0-1742547088218.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1480216i3C5904E918F1B218/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MustafaSalaheldin_0-1742547088218.png" alt="MustafaSalaheldin_0-1742547088218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 08:51:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13383039#M65671</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2025-03-21T08:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13387757#M65672</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;any update please?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 18:12:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13387757#M65672</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2025-03-24T18:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13435463#M65673</link>
      <description>&lt;P&gt;The good news is now Revit 2026 API allows VG overrides for RVT Links in View Templates.&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The bad news is it is still not allowing overriding Half tone and Underlay for RVT Link instances in VT.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 10:47:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13435463#M65673</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2025-04-21T10:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change Revit Link Display Settings and Design Options using API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13693514#M84161</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you &lt;/SPAN&gt;&lt;A target="_blank"&gt;@Mustafa&lt;/A&gt;&lt;SPAN&gt;.Salaheldin for the hint,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've managed to make it working in Revit 2024 using a dictionary to map the views with linked views.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope it helps or gives an inspiration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nizar.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;using System;
using System.Linq;
using System.Collections.Generic;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;

[Transaction(TransactionMode.Manual)]
public class SetLinkViewOverrides : IExternalCommand
{
    public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
    {
        UIApplication uiApp = commandData.Application;
        UIDocument uiDoc = uiApp.ActiveUIDocument;
        Document doc = uiDoc.Document;

        // Define dictionary: { Host View Name → Linked View Name }
        Dictionary&amp;lt;string, string&amp;gt; viewMapping = new Dictionary&amp;lt;string, string&amp;gt;
        {
            { "Site Plan", "Linked Site Plan" },
            { "Second Floor", "Linked Second Floor" },
            { "First Floor", "Linked First Floor" }
            // Add more mappings as needed
        };

        // Collect all Revit link instances
        List&amp;lt;RevitLinkInstance&amp;gt; linkInstances = new FilteredElementCollector(doc)
            .OfClass(typeof(RevitLinkInstance))
            .Cast&amp;lt;RevitLinkInstance&amp;gt;()
            .ToList();

        int successCount = 0;

        using (Transaction trans = new Transaction(doc, "Set Linked Views"))
        {
            trans.Start();

            // Iterate through all views in the document
            foreach (View hostView in new FilteredElementCollector(doc)
                     .OfClass(typeof(View))
                     .Cast&amp;lt;View&amp;gt;()
                     .Where(v =&amp;gt; !v.IsTemplate)) // Ignore templates
            {
                // Check if this view has a mapping
                if (!viewMapping.TryGetValue(hostView.Name, out string linkedViewName))
                    continue; // Skip if no linked view is assigned

                foreach (var linkInstance in linkInstances)
                {
                    Document linkDoc = linkInstance.GetLinkDocument();
                    if (linkDoc == null) continue; // Skip unloaded links

                    // Find the specified linked view
                    View linkedView = new FilteredElementCollector(linkDoc)
                        .OfClass(typeof(View))
                        .Cast&amp;lt;View&amp;gt;()
                        .FirstOrDefault(v =&amp;gt; !v.IsTemplate &amp;amp;&amp;amp; v.Name == linkedViewName);

                    if (linkedView != null)
                    {
                        // Apply "By Linked View" override
                        SetLinkViewOverride(hostView, linkInstance.Id, linkedView.Id);
                        successCount++;
                    }
                }
            }

            trans.Commit();
        }

        TaskDialog.Show("Result", successCount &amp;gt; 0
            ? $"Linked views applied to {successCount} views."
            : "No linked views were set. Check view names in dictionary.");

        return Result.Succeeded;
    }

    /// &amp;lt;summary&amp;gt;
    /// Sets the visibility override of a linked model in a view to "By Linked View".
    /// &amp;lt;/summary&amp;gt;
    private void SetLinkViewOverride(View hostView, ElementId linkElementId, ElementId linkedViewId)
    {
        RevitLinkGraphicsSettings settings = new RevitLinkGraphicsSettings
        {
            LinkVisibilityType = LinkVisibility.ByLinkView,
            LinkedViewId = linkedViewId
        };

        hostView.SetLinkOverrides(linkElementId, settings);
    }
}&lt;/LI-CODE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Jun 2025 10:14:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/change-revit-link-display-settings-and-design-options-using-api/m-p/13693514#M84161</guid>
      <dc:creator>nizar71</dc:creator>
      <dc:date>2025-06-23T10:14:25Z</dc:date>
    </item>
  </channel>
</rss>

