<?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: How to retrieve the Status and Reference Type of linked files in the documen in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857361#M41650</link>
    <description>&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Do you how to get the names of linked files?&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 10:45:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-18T10:45:53Z</dc:date>
    <item>
      <title>How to retrieve the Status and Reference Type of linked files in the document?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857182#M41648</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="LinkedDocs.PNG" style="width: 384px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/648233iB6A4B8012C98DF58/image-size/large?v=v2&amp;amp;px=999" role="button" title="LinkedDocs.PNG" alt="LinkedDocs.PNG" /&gt;&lt;/span&gt;I can get the linked files by using&amp;nbsp;FilteredElementCollector(doc).OfClass(RevitLinkInstance), but is it possible to get the Status and Reference Type?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 08:59:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857182#M41648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-18T08:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve the Status and Reference Type of linked files in the documen</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857262#M41649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Try using the below code&lt;/P&gt;
&lt;PRE&gt; FilteredElementCollector Col = new FilteredElementCollector(doc).OfClass(typeof(RevitLinkType));
                foreach(Element e in Col)
                {
                    ExternalFileReference fileRef = e.GetExternalFileReference();
                    //TO GET STATUS 
                    string status =fileRef.GetLinkedFileStatus().ToString();
                    //TO GET REFERENCETYPE
                    string rTYPE = e.get_Parameter(BuiltInParameter.RVT_LINK_REFERENCE_TYPE).AsValueString();                   
                }&lt;/PRE&gt;
&lt;P&gt;If this helped solve your problem please mark it as solution, so other users can get this solutions as well&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 09:46:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857262#M41649</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2019-06-18T09:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve the Status and Reference Type of linked files in the documen</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857361#M41650</link>
      <description>&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Do you how to get the names of linked files?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 10:45:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857361#M41650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-18T10:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve the Status and Reference Type of linked files in the documen</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857374#M41651</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Yes, you can get the name using&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;RevitLinkType RLT = e as RevitLinkType;&lt;BR /&gt; string name=RLT.Name;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 10:56:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-the-status-and-reference-type-of-linked-files-in/m-p/8857374#M41651</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2019-06-18T10:56:25Z</dc:date>
    </item>
  </channel>
</rss>

