<?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: Toggle CAD Link visibility in all views after importing in a single view in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10641373#M23590</link>
    <description>&lt;P&gt;I played with the Nina tool a bit - it was useful for toggling between the cad/revit links, but it didn't seem to turn cad links linked as "current view only" to "all views", unfortunately. Still useful to make the manual process slightly less cumbersome, thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 04:31:05 GMT</pubDate>
    <dc:creator>Dirk77</dc:creator>
    <dc:date>2021-09-23T04:31:05Z</dc:date>
    <item>
      <title>Toggle CAD Link visibility in all views after importing in a single view</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10639829#M23586</link>
      <description>&lt;P&gt;As the title suggests, I'm hoping I'm missing a setting to easily toggle the visibility of a CAD link.&lt;/P&gt;&lt;P&gt;Long story short, the project is following a highly unorthodox, non-standard workflow, but it would be convenient if there is an easy toggle.&lt;BR /&gt;I'm essentially looking for a way to change a CAD linked with "current view only" checked, to an unchecked version without removing and relinking it (it'll drop all the dimensions and alignment locks!).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Matty7_0-1632317968137.gif" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/968311i2AEBB4EEC776ED13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Matty7_0-1632317968137.gif" alt="Matty7_0-1632317968137.gif" /&gt;&lt;/span&gt;(Image from Message 3 of 5 in&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-mep-forum/cad-visiblity-in-all-views/m-p/5634939/highlight/true#M27577" target="_blank"&gt;https://forums.autodesk.com/t5/revit-mep-forum/cad-visiblity-in-all-views/m-p/5634939/highlight/true#M27577&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 13:42:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10639829#M23586</guid>
      <dc:creator>Dirk77</dc:creator>
      <dc:date>2021-09-22T13:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle CAD Link visibility in all views after importing in a single view</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10640074#M23587</link>
      <description>&lt;P&gt;From a little experimenting and snooping (would highly recommend getting the Revit Lookup tool if you don't already have it), it looks like the &lt;A href="https://www.revitapidocs.com/2020/785b351e-51cb-e3c6-cb91-f307c8e4ba73.htm" target="_blank" rel="noopener"&gt;Element.ViewSpecific&lt;/A&gt; property is driving this. Unfortunately, looking at API docs, it doesn't seem like this can be modified. You might want to try putting it on a workset and then toggling that workset, as suggested in the thread you posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a current view enlarged workset toggle for my toolbar&amp;nbsp;&lt;A href="https://github.com/jroth93/Proficient/blob/master/Proficient/Toggles/ToggleEnlWkst.cs" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;- maybe some of this code could get you started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also use a filtered element collector to get all views with the same reference level, then just use the &lt;A href="https://www.revitapidocs.com/2020/6b0ae8d1-776a-ad0d-577d-ffdc11673019.htm" target="_blank" rel="noopener"&gt;View.HideElements&lt;/A&gt;&amp;nbsp;method to hide the link in each view retroactively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, there's not a great simple solution, as far as I can tell.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 15:19:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10640074#M23587</guid>
      <dc:creator>josh.roth.MEI</dc:creator>
      <dc:date>2021-09-22T15:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle CAD Link visibility in all views after importing in a single view</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10640409#M23588</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have developed a tool that I think could help you with this. Basically, it is a command that switches the visibility of the CAD instances on the active view. I use it as a shortcut so it is simple to change the visibility whenever you need to, without opening windows on Revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code, you could adapt it to be used on all views instead of the active one:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/franpossetto/Nina/blob/547299d6ada57bd4d2d6d81feff618fef71291bb/Nina/Lib/Links.cs#L39" target="_blank" rel="noopener"&gt;https://github.com/franpossetto/Nina/blob/547299d6ada57bd4d2d6d81feff618fef71291bb/Nina/Lib/Links.cs#L39&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you can download the toolbar and use the command:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/franpossetto/Nina/releases/latest/download/Nina.msi" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/franpossetto/Nina/releases/latest/download/Nina.msi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 17:29:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10640409#M23588</guid>
      <dc:creator>franciscopossetto</dc:creator>
      <dc:date>2021-09-22T17:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle CAD Link visibility in all views after importing in a single view</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10641364#M23589</link>
      <description>&lt;P&gt;Thank you for the lookup suggestion - marvelous tool!&lt;BR /&gt;&lt;BR /&gt;I did actually go the link&amp;gt;all views&amp;gt;hide in non-relevant views route, however that was for the area where the links were not as many as the current area (9 buildings, min 11 sheets per building, without details), so it has been a big chore toggling the cad links in each view.&lt;BR /&gt;&lt;BR /&gt;I do appreciate the assistance though. The link to the piece of code you gave - what language would that be?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 04:20:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10641364#M23589</guid>
      <dc:creator>Dirk77</dc:creator>
      <dc:date>2021-09-23T04:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle CAD Link visibility in all views after importing in a single view</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10641373#M23590</link>
      <description>&lt;P&gt;I played with the Nina tool a bit - it was useful for toggling between the cad/revit links, but it didn't seem to turn cad links linked as "current view only" to "all views", unfortunately. Still useful to make the manual process slightly less cumbersome, thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 04:31:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10641373#M23590</guid>
      <dc:creator>Dirk77</dc:creator>
      <dc:date>2021-09-23T04:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle CAD Link visibility in all views after importing in a single view</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10642278#M23591</link>
      <description>&lt;P&gt;I use C# for all of my add-ins. Feel free to message with any questions!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 12:42:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/toggle-cad-link-visibility-in-all-views-after-importing-in-a/m-p/10642278#M23591</guid>
      <dc:creator>josh.roth.MEI</dc:creator>
      <dc:date>2021-09-23T12:42:01Z</dc:date>
    </item>
  </channel>
</rss>

