<?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 Place Repeating Detail Again in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/3342621#M80991</link>
    <description>&lt;P&gt;Working on my first batch of programming with the API.&amp;nbsp; Hit my first question that I cannot answer with Google.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to place a repeating detail.&amp;nbsp; I read this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/Autodesk-Revit-API/Place-repeating-detail-using-the-API/td-p/3313195" target="_blank"&gt;http://forums.autodesk.com/t5/Autodesk-Revit-API/Place-repeating-detail-using-the-API/td-p/3313195&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it mostly made sense.&amp;nbsp; The problem is, in the code sample it says "// fine (sic)&amp;nbsp;the family symbol here" as a comment in the code.&amp;nbsp; I cannot figure out how to pick the family symbol I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent a lot of time with FamilySymbol, but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance on selecting the symbol I want to use?&amp;nbsp; And feel free to speak slowly.&amp;nbsp; Like I said, this is my first dive in the Revit API.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2012 16:06:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-22T16:06:55Z</dc:date>
    <item>
      <title>Place Repeating Detail Again</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/3342621#M80991</link>
      <description>&lt;P&gt;Working on my first batch of programming with the API.&amp;nbsp; Hit my first question that I cannot answer with Google.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to place a repeating detail.&amp;nbsp; I read this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/Autodesk-Revit-API/Place-repeating-detail-using-the-API/td-p/3313195" target="_blank"&gt;http://forums.autodesk.com/t5/Autodesk-Revit-API/Place-repeating-detail-using-the-API/td-p/3313195&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it mostly made sense.&amp;nbsp; The problem is, in the code sample it says "// fine (sic)&amp;nbsp;the family symbol here" as a comment in the code.&amp;nbsp; I cannot figure out how to pick the family symbol I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent a lot of time with FamilySymbol, but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance on selecting the symbol I want to use?&amp;nbsp; And feel free to speak slowly.&amp;nbsp; Like I said, this is my first dive in the Revit API.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2012 16:06:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/3342621#M80991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-22T16:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Place Repeating Detail Again</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/3345535#M80992</link>
      <description>&lt;P&gt;I'm not 100% if this is what you are looking for but here it is. A sample code searching a family symbol based on category and name. Code is C++/CLI but its somewhat similar with the C#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;List&amp;lt;FamilySymbol^&amp;gt;^ familySymbols(Document^ document, 
                                                           BuiltInCategory category,
                                                           String^ name)
{
  // Filters
  ElementCategoryFilter ^categoryFilter = gcnew ElementCategoryFilter(category);
  ElementClassFilter ^classFilter             = gcnew ElementClassFilter(FamilySymbol::typeid);
  LogicalAndFilter ^lFilter                        = gcnew LogicalAndFilter(categoryFilter, classFilter);

  // Elements lookup
  FilteredElementCollector ^elementCollector = gcnew FilteredElementCollector(document);
  elementCollector-&amp;gt;WherePasses(lFilter);

  // Find correct element and cast it to FamilySymbol
  List&amp;lt;FamilySymbol^&amp;gt; ^familyList = gcnew List&amp;lt;FamilySymbol^&amp;gt;;
  for each (Element ^elem in elementCollector)
  {
    FamilySymbol ^familySymbol = safe_cast&amp;lt;FamilySymbol^&amp;gt;(elem);
    if(familySymbol-&amp;gt;Family-&amp;gt;Name-&amp;gt;Equals(name)
    {
      familyList-&amp;gt;Add(familySymbol);
    }
  }

  return familyList;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 06:10:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/3345535#M80992</guid>
      <dc:creator>ollikat</dc:creator>
      <dc:date>2012-02-24T06:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Place Repeating Detail Again</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/3346073#M80993</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; After some c# massagin, it does precisely what I wanted it to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, after much pacing, I think I am realizing that I am not knowledgeable enough to know what I really need this to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I should back up and ask everyone, is it even possible to place a Repeating Detail with the API?&amp;nbsp; With the above poster's help, I have been able to place single detail component and a line-based detail component, but no Repeating Detail.&amp;nbsp; I have used different BuiltInCategories, different overloads of the NewFamilyInstance, but no dice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is placing a Repeating Detail even possible?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 14:16:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/3346073#M80993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-24T14:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Place Repeating Detail Again</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/10668738#M80994</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;It looks like you're right - placing Repeating Detail idea is here:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/expose-repeated-detail-component-to-api/idi-p/7613427" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Expose Repeated Detail Component to API&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 21:20:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/place-repeating-detail-again/m-p/10668738#M80994</guid>
      <dc:creator>lionel.kai</dc:creator>
      <dc:date>2021-10-05T21:20:48Z</dc:date>
    </item>
  </channel>
</rss>

