<?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 Component  of a truss in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6843070#M60605</link>
    <description>&lt;P&gt;I would like to get the components of&amp;nbsp;a struss,&amp;nbsp;using the API, I tried using the property of GroupId, but it doesn't work. And in general the components of a family. Any help is welcome. Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 12:57:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-31T12:57:21Z</dc:date>
    <item>
      <title>Component  of a truss</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6843070#M60605</link>
      <description>&lt;P&gt;I would like to get the components of&amp;nbsp;a struss,&amp;nbsp;using the API, I tried using the property of GroupId, but it doesn't work. And in general the components of a family. Any help is welcome. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 12:57:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6843070#M60605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T12:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Component  of a truss</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6843464#M60606</link>
      <description>&lt;P&gt;Dear Javier,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not aware of the internal structure of a truss, so I cannot help you with that without deeper exploration or further information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if this is a specialisation of your more general query on how to access the internal components of a family instance, which I assume it is, then I can help you after all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First a couple of question to you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you pretty new to the Revit developer community?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you installed RevitLookup?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/RevitLookup" target="_blank"&gt;https://github.com/jeremytammik/RevitLookup&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you worked through the getting started material?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/about-the-author.html#2" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/about-the-author.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you looked at some of the discussions on how to research a Revit API task or problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you any experience with the Revit user interface?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That helps a lot to understand the programming side of things!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can answer yes to all of those question, let's continue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you answered no to any one of them, please complete that learning step before reading on. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now to address your question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you explored how you can access the subelements of your truss through the user interface?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would assume that you would do so by selecting a truss family instance and clicking the button saying 'Edit Family'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The approach through the API is exactly equivalent:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.revitapidocs.com/2017/56e636ee-5008-0ee5-9d6c-5f622dedfbcb.htm" target="_blank"&gt;http://www.revitapidocs.com/2017/56e636ee-5008-0ee5-9d6c-5f622dedfbcb.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:19:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6843464#M60606</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-01-31T15:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Component  of a truss</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6845784#M60607</link>
      <description>&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;components of a truss:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Autodesk.Revit.DB.Structure.&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;Truss&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; _truss;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;List&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ElementId&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt; _members = _truss.Members.ToList&amp;lt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ElementId&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt;();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in general for User Created Families:&lt;/P&gt;&lt;P&gt;FamilyInstance _instance;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;List&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ElementId&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt; _members =&lt;/FONT&gt;_instance&lt;FONT face="Consolas" size="2"&gt;.GetSubComponentIds().ToList&amp;lt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ElementId&lt;/FONT&gt;&amp;gt;();&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 12:42:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6845784#M60607</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-02-01T12:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Component  of a truss</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6848606#M60608</link>
      <description>&lt;P&gt;Thanks to Fair59 for the nice succinct answer. Promoted to a blog post:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2017/02/revitserverapilib-truss-members-and-layers.html#4" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2017/02/revitserverapilib-truss-members-and-layers.html#4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 10:27:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6848606#M60608</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-02-02T10:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Component  of a truss</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6881872#M60609</link>
      <description>&lt;P&gt;Thanks for the answer It work on very well&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 09:41:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6881872#M60609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T09:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Component  of a truss</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6881939#M60610</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I am new in the use of Revit interface, I start a new job in a company where I am developing an app in c#. About if I have installed RevitLookup, no I do not, in fact I can't understand what it does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The started material that I used it was the Revit API Developers Guide from&amp;nbsp; Autodesk webpage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And finally I don't looked at how research REVIT API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheer and thank for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Javi&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 09:51:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/component-of-a-truss/m-p/6881939#M60610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T09:51:09Z</dc:date>
    </item>
  </channel>
</rss>

