<?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 room informations from FamilySymbol in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9029751#M39745</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;how can i get the room informations from a FamilySymbol? With a FamilyInstance it works, but not with FamilySymbol:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/678075i6D7DDF11EACEE4EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 12:17:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-17T12:17:05Z</dc:date>
    <item>
      <title>Get room informations from FamilySymbol</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9029751#M39745</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;how can i get the room informations from a FamilySymbol? With a FamilyInstance it works, but not with FamilySymbol:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/678075i6D7DDF11EACEE4EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 12:17:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9029751#M39745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-17T12:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get room informations from FamilySymbol</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9029854#M39746</link>
      <description>&lt;P&gt;It is because a FamilySymbol does not exist in a room. It is the top level element for a Family that holds the Types, but the FamilyInstance is what is placed in the model and therefore can have room information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 12:47:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9029854#M39746</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2019-09-17T12:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get room informations from FamilySymbol</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9031694#M39747</link>
      <description>&lt;P&gt;I have the following problem. In instance object I get all the parameters without values. In the symbol object I only get the parameters assigned to the family with the values but not the room. How do i get the room information and the assigned parameters with values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled1.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/678409i2A4D6AF88D0707EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled2.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/678410i30FB8C983BC058B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled2.png" alt="Untitled2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 06:59:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9031694#M39747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-18T06:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get room informations from FamilySymbol</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9032175#M39748</link>
      <description>&lt;P&gt;Perhaps I am a bit confused, but I understood that you were trying to get information from the Room, and supply it to your Family inside that room. If that is true, you would be using Instance Based parameters which would not require the Family Symbol. If you are trying to set Type Parameters, then you need to get the Family Type. &amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ElementType fType = doc.GetElement(famInst.GetTypeId) as ElementType;&lt;/PRE&gt;&lt;P&gt;If this is not what you are trying to do, could you please explain a little more on what you expect the result to be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 11:18:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9032175#M39748</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2019-09-18T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get room informations from FamilySymbol</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9032500#M39749</link>
      <description>&lt;P&gt;Thanks, this is the solution what i need. The last point to finish my function is, how can i select only a FamilyInstance, perhaps with a if statement? Like: if (SpecialityEquipmentElementsMain[iEquipment] == "FamilyInstance") ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/678548iF1C2090F32529302/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 13:23:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9032500#M39749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-18T13:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get room informations from FamilySymbol</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9032740#M39750</link>
      <description>&lt;P&gt;I think you should be able to use the "is" statement to get this done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;        private Room FamRoom()
        {
            IList&amp;lt;FamilyInstance&amp;gt; fams = new FilteredElementCollector(doc).OfClass(typeof(FamilyInstance)).Cast&amp;lt;FamilyInstance&amp;gt;().ToList();
            if (fams[12] is FamilyInstance famIst)
            {
                Room room = famIst.Room;
                return room;
            }
            return null;
        }&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:50:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9032740#M39750</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2019-09-18T14:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get room informations from FamilySymbol</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9034181#M39751</link>
      <description>&lt;P&gt;Thanks a lot!! it works.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 06:41:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-room-informations-from-familysymbol/m-p/9034181#M39751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-19T06:41:05Z</dc:date>
    </item>
  </channel>
</rss>

