<?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 Get links in active document in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739504#M31933</link>
    <description>&lt;P&gt;I want to get all the linked files of the active document. But when I use a FilteredElementCollector with OfClass RevitLinkType I get all opened documents and their linked files! I only want the linked files of the current document. Not the the open document, just links &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var links = new FilteredElementCollector(document).OfClass(typeof(RevitLinkType));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not possible, how can I determine if the RevitLinkType in my filteredElementCollector is from the current document?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2020 08:52:08 GMT</pubDate>
    <dc:creator>ottosson_mathias</dc:creator>
    <dc:date>2020-09-10T08:52:08Z</dc:date>
    <item>
      <title>Get links in active document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739504#M31933</link>
      <description>&lt;P&gt;I want to get all the linked files of the active document. But when I use a FilteredElementCollector with OfClass RevitLinkType I get all opened documents and their linked files! I only want the linked files of the current document. Not the the open document, just links &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var links = new FilteredElementCollector(document).OfClass(typeof(RevitLinkType));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not possible, how can I determine if the RevitLinkType in my filteredElementCollector is from the current document?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 08:52:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739504#M31933</guid>
      <dc:creator>ottosson_mathias</dc:creator>
      <dc:date>2020-09-10T08:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get links in active document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739588#M31934</link>
      <description>&lt;P&gt;Does this previous thread answer your question?&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/find-revitlinks-is-loaded-or-unloaded/td-p/6819396" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/find-revitlinks-is-loaded-or-unloaded/td-p/6819396&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 09:47:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739588#M31934</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-09-10T09:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get links in active document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739696#M31935</link>
      <description>&lt;P&gt;Thanks Jeremy, it helped med to continue my search where I found this post which did exactly what I needed: &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/getlinkdocument-broken-in-2020/m-p/9385210" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/getlinkdocument-broken-in-2020/m-p/9385210&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it just me or is it difficult to get good search results on this forum search?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 10:51:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739696#M31935</guid>
      <dc:creator>ottosson_mathias</dc:creator>
      <dc:date>2020-09-10T10:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get links in active document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739707#M31936</link>
      <description>&lt;P&gt;Thank you for the additional link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I totally agree that it is difficult, and that applies to just about every search engine I know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Typepad is much worse.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Google and DuckDuckGo seem to provide decent results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just implemented my own full-text search, and that is not perfect either, as it stands now:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2020/09/optimising-parameters-and-full-text-search.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2020/09/optimising-parameters-and-full-text-search.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you really need a bit of&amp;nbsp;&lt;SPAN&gt;natural language processing (&lt;/SPAN&gt;&lt;STRONG&gt;NLP&lt;/STRONG&gt;&lt;SPAN&gt;) to be able to achieve really good functionality.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And with the speed at which that technology is currently advancing, I think much better results than we are used to should be achievable today without too much effort.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 10:59:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-links-in-active-document/m-p/9739707#M31936</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-09-10T10:59:12Z</dc:date>
    </item>
  </channel>
</rss>

