<?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: Tagging Linked Elements using Revit API in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/10178999#M43588</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;You need to get XYZ point of tagged element taking into account the transformation of LinkedInstance&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Mar 2021 11:44:34 GMT</pubDate>
    <dc:creator>IliaIvanov</dc:creator>
    <dc:date>2021-03-23T11:44:34Z</dc:date>
    <item>
      <title>Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8669001#M43578</link>
      <description>&lt;P&gt;Hello, Is it real to tag linked element?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 15:38:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8669001#M43578</guid>
      <dc:creator>IliaIvanov</dc:creator>
      <dc:date>2019-03-19T15:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8669210#M43579</link>
      <description>&lt;P&gt;And also how to get reference of taged linked element?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 16:44:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8669210#M43579</guid>
      <dc:creator>IliaIvanov</dc:creator>
      <dc:date>2019-03-19T16:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8671548#M43580</link>
      <description>&lt;P&gt;Hello, Ihave done it:&lt;BR /&gt;RevitLinkInstance link = doc.&lt;SPAN&gt;GetElement&lt;/SPAN&gt;(tag.TaggedElementId.LinkInstanceId)&amp;nbsp;&lt;SPAN&gt;as&lt;/SPAN&gt;&amp;nbsp;RevitLinkInstance;&lt;/P&gt;
&lt;P&gt;Reference refer =&lt;SPAN&gt;new&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Reference&lt;/SPAN&gt;(link.&lt;SPAN&gt;GetLinkDocument&lt;/SPAN&gt;()&lt;/P&gt;
&lt;P&gt;.&lt;SPAN&gt;GetElement&lt;/SPAN&gt;(tag.TaggedElementId.LinkedElementId))&lt;/P&gt;
&lt;P&gt;.&lt;SPAN&gt;CreateLinkReference&lt;/SPAN&gt;(link);&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 13:33:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8671548#M43580</guid>
      <dc:creator>IliaIvanov</dc:creator>
      <dc:date>2019-03-20T13:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8671705#M43581</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Ilia,&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 for your query and thank you ever so much for your 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;U&gt;&lt;STRONG&gt;Congratulations on that!&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Well done.&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;What a shame that my answer to you now is completely superfluous.&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;Here is what I originally wrote and you can now (almost) totally ignore:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;begin original answer&amp;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;FONT color="#808080"&gt;&lt;SPAN&gt;You thread was automatically escalated to an ADN case, since you logged it with your ADN membership email address.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;You also escalated it twice manually yourself, so we now have three separate identical cases for this thread:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;15175390 [Tagging Linked Elements using Revit API]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;15175537 [Tagging Linked Elements using Revit API]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;15177861 [Tagging Linked Elements using Revit API]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;I am closing the latter two as duplicates of the first.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Thank you for refraining from duplicating cases in future.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Furthermore, this topic of yours has been raised several times here in the past, e.g.:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="http://forums.autodesk.com/t5/revit-api/highlight-and-tag-linked-elements/m-p/5294217" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api/highlight-and-tag-linked-elements/m-p/5294217&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="http://forums.autodesk.com/t5/revit-api-forum/trace-the-tag-host-element-on-linked-revit-project/m-p/6832308" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api-forum/trace-the-tag-host-element-on-linked-revit-project/m-p/6832308&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/schedule-door-tags-doors-in-linked-model-bim-360/m-p/8417306" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/schedule-door-tags-doors-in-linked-model-bim-360/m-p/8417306&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8669001" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8669001&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Please always search for existing threads before raising a new issue.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;The first one of those is the most relevant in your case.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;It led to a wish list item in the development database:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;REVIT-90539 [WISH: API : highlight linked elements -- 10027136, 15175390]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Unfortunately, that wish has not yet been addressed.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;I added a note of your request to it to underline its importance and raise its priority.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;You are welcome to request an update on the status of this issue or to provide us with additional information at any time quoting this wish list item number.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;This issue is important to me. What can I do to help?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;This issue needs to be assessed by our engineering team, and prioritised against all other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Impact on your application and/or your development.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;The number of users affected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;The potential revenue impact to you.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;The potential revenue impact to Autodesk.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Realistic timescale over which a fix would help you.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;In addition to the internal wish list item, I would strongly suggest that you add an entry for this in the Revit Idea Station, if there is none already present there yet:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/idb-p/302" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/idb-p/302&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Tag it as an API wish:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/idb-p/302/tab/most-recent/label-name/api" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/idb-p/302/tab/most-recent/label-name/api&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Ensure it gets as many votes as possible to underline its importance to you and the rest of the developer community.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;The Revit Idea Station is currently one of the main driving input sources for Revit API enhancements.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;In fact, I see that these two wishes have already been logged there for this:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/highlight-element-selection-in-linked-files/idi-p/7619701&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/tag-revit-links/idi-p/7342986" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/tag-revit-links/idi-p/7342986&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;So, please vote for them.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;/end original answer&amp;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;Ok, now I just have to update those wish list items all over the place and point out your solution there...&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;Thanks again.&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;Best regards,&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;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 14:26:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8671705#M43581</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-03-20T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8786432#M43582</link>
      <description>&lt;P&gt;Could you provide slightly larger snippets of source code showing the context of both creating the tag and retrieving the link from it afterwards? Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 05:43:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8786432#M43582</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-05-13T05:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787094#M43583</link>
      <description>&lt;P&gt;Hello, sure&lt;/P&gt;
&lt;PRE&gt;//point near my wall&lt;BR /&gt; XYZ xyz =&amp;nbsp;&lt;SPAN&gt;new&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;XYZ&lt;/SPAN&gt;(-&lt;SPAN&gt;20&lt;/SPAN&gt;,&lt;SPAN&gt;20&lt;/SPAN&gt;,&lt;SPAN&gt;0&lt;/SPAN&gt;);&lt;BR /&gt;&lt;BR /&gt;//At first need to find our links&lt;BR /&gt;FilteredElementCollector collector = new FilteredElementCollector(doc);
collector.OfClass(typeof(RevitLinkInstance));

foreach (Element elem in collector)
    {
//Get linkInstance
        RevitLinkInstance instance = elem as RevitLinkInstance;
//Get linkDocument
        Document linkDoc = instance.GetLinkDocument();
//Get linkType
         RevitLinkType type = doc.GetElement(instance.GetTypeId()) as RevitLinkType;
         //Check if link is loaded
         if (RevitLinkType.IsLoaded(doc, type.Id))
           {
//Find walls for tagging
              FilteredElementCollector newCollector = new 
              FilteredElementCollector(linkDoc);
              IList&amp;lt;Element&amp;gt; newElems = newCollector
	      .OfCategory(BuiltInCategory.OST_Walls)			  
	      .ToElements();

//Create reference. 
             For(int i=0;i&amp;lt; newElems.count;i++)&lt;BR /&gt;               {
                 Reference newRef = new 
                 Reference(newElems[i])
                 .CreateLinkReference(instance);

//Create transaction
                  using (Transaction tx = new Transaction(doc))
		   {
		     tx.Start("Create tags");
		     IndependentTag newTag= IndependentTag.Create(doc,doc.ActiveView.Id,newRef,true,TagMode.TM_ADDBY_MATERIAL,TagOrientation.Horizontal,xyz);
			&lt;BR /&gt;//To find information about Link from tag we should use:&lt;BR /&gt;&lt;BR /&gt;                     ElementId linkInstid = newTag.TaggedElementId&lt;BR /&gt;                                           .LinkInstanceId; //to find id of LinkInstance&lt;BR /&gt;&lt;BR /&gt;		    ElememtId linkedElementId = newTag.TaggedElementId&lt;BR /&gt;                                                .LinkInstanceId; //to find id of LinkedElement                    				                              	 
                      tx.Commit();
		}&lt;BR /&gt;              }&lt;BR /&gt;         }
    }&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 May 2019 12:07:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787094#M43583</guid>
      <dc:creator>IliaIvanov</dc:creator>
      <dc:date>2019-05-13T12:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787336#M43584</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Ilia,&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 very much for your fast answer and complete sample code.&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 saved this for posterity in The Building Coder blog:&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="https://thebuildingcoder.typepad.com/blog/2019/05/tagging-a-linked-element.html#3" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2019/05/tagging-a-linked-element.html#3&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 also added the sample method to The Building Coder samples as TagAllLinkedWalls for posterity.&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;Here is the slightly cleaned-up code:&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="https://github.com/jeremytammik/the_building_coder_samples/compare/2020.0.145.4...2020.0.145.5" target="_blank"&gt;https://github.com/jeremytammik/the_building_coder_samples/compare/2020.0.145.4...2020.0.145.5&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;  /// &amp;lt;summary&amp;gt;
  /// Tag all walls in all linked documents
  /// &amp;lt;/summary&amp;gt;
  void TagAllLinkedWalls( Document doc )
  {
    // Point near my wall
    XYZ xyz = new XYZ( -20, 20, 0 );

    // At first need to find our links
    FilteredElementCollector collector
      = new FilteredElementCollector( doc )
        .OfClass( typeof( RevitLinkInstance ) );

    foreach( Element elem in collector )
    {
      // Get linkInstance
      RevitLinkInstance instance = elem 
        as RevitLinkInstance;

      // Get linkDocument
      Document linkDoc = instance.GetLinkDocument();

      // Get linkType
      RevitLinkType type = doc.GetElement( 
        instance.GetTypeId() ) as RevitLinkType;

      // Check if link is loaded
      if( RevitLinkType.IsLoaded( doc, type.Id ) )
      {
        // Find walls for tagging
        FilteredElementCollector walls
          = new FilteredElementCollector( linkDoc )
            .OfCategory( BuiltInCategory.OST_Walls )
            .OfClass( typeof( Wall ) );

        // Create reference
        foreach( Wall wall in walls )
        {
          Reference newRef = new Reference( wall )
            .CreateLinkReference( instance );

          // Create transaction
          using( Transaction tx = new Transaction( doc ) )
          {
            tx.Start( "Create tags" );

            IndependentTag newTag = IndependentTag.Create( 
              doc, doc.ActiveView.Id, newRef, true, 
              TagMode.TM_ADDBY_MATERIAL, 
              TagOrientation.Horizontal, xyz );

            // Use TaggedElementId.LinkInstanceId and 
            // TaggedElementId.LinkInstanceId to retrieve 
            // the id of the tagged link and element:

            LinkElementId linkId = newTag.TaggedElementId;
            ElementId linkInsancetId = linkId.LinkInstanceId;
            ElementId linkedElementId = linkId.LinkedElementId;

            tx.Commit();
          }
        }
      }
    }
  }&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&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;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 13:21:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787336#M43584</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-05-13T13:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787374#M43585</link>
      <description>&lt;P&gt;You are welcome!&lt;BR /&gt;BTW As I had one wall in project to tag it I needed only one xyz point,&amp;nbsp; If somebody are going to use code for not one wall, they should make the variable&amp;nbsp; different&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 13:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787374#M43585</guid>
      <dc:creator>IliaIvanov</dc:creator>
      <dc:date>2019-05-13T13:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787390#M43586</link>
      <description>&lt;P&gt;Yes, I noticed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Left as a good exercise for the interested reader...&amp;nbsp; &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;</description>
      <pubDate>Mon, 13 May 2019 13:36:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/8787390#M43586</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-05-13T13:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/10014959#M43587</link>
      <description>&lt;P&gt;hi..&lt;/P&gt;&lt;P&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Do you know why when I move the file link to another location?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Then I add a new tag to the object, will the new tag not follow the object?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 04:51:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/10014959#M43587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-20T04:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging Linked Elements using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/10178999#M43588</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;You need to get XYZ point of tagged element taking into account the transformation of LinkedInstance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 11:44:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/m-p/10178999#M43588</guid>
      <dc:creator>IliaIvanov</dc:creator>
      <dc:date>2021-03-23T11:44:34Z</dc:date>
    </item>
  </channel>
</rss>

