<?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: Structural section properties API in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5128916#M76514</link>
    <description>&lt;P&gt;Hi augusto.goncalves,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you suggested, I tried with &lt;STRONG&gt;StructuralSectionPipeStandard. &lt;/STRONG&gt;Still it is not working. Please see the below code snippet and the attached Revit family file used for this test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method "&lt;STRONG&gt;fi.Symbol.GetStructuralSection()"&lt;/STRONG&gt; is always returning &lt;STRONG&gt;null&lt;/STRONG&gt;, though the method "&lt;STRONG&gt;fi.Symbol.Family.HasStructuralSection()"&lt;/STRONG&gt; is returning &lt;STRONG&gt;TRUE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please post / send, if you have any working sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FilteredElementCollector collector = new FilteredElementCollector(document);
collector = collector.OfClass(typeof(FamilyInstance));
List&amp;lt;FamilyInstance&amp;gt; elementList = collector.Cast&amp;lt;FamilyInstance&amp;gt;().ToList();
foreach (FamilyInstance fi in elementList)
{
    if (fi.Symbol.Family.HasStructuralSection())
    {
        StructuralSectionShape shape1 = fi.Symbol.Family.StructuralSectionShape;

        StructuralSection ss = fi.Symbol.GetStructuralSection();  // This method is always returning null.
        if (ss == null)
            continue;

        StructuralSectionShape shape = ss.StructuralSectionShape;
        string shapeName = ss.StructuralSectionShapeName;
    }
}&lt;/PRE&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2014 12:38:39 GMT</pubDate>
    <dc:creator>cadsindiaadn</dc:creator>
    <dc:date>2014-07-02T12:38:39Z</dc:date>
    <item>
      <title>Structural section properties API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5101848#M76512</link>
      <description>&lt;P&gt;I tried to get the StructuralSection object using the new Revit 2015 Structural section properties API&amp;nbsp;method "FamilyInstance.Symbol.GetStructuralSection()". But this method is always returning null object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anybody tested this API?&amp;nbsp; Is this API working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to overcome from this issue and see the&amp;nbsp;the attached Revit command class file (zip file)&amp;nbsp;and Revit model file, which are used for this sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 08:47:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5101848#M76512</guid>
      <dc:creator>cadsindiaadn</dc:creator>
      <dc:date>2014-06-18T08:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Structural section properties API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5120402#M76513</link>
      <description>&lt;P&gt;In fact, for 2015, the HasStructuralSection method only confirm if the symbol CAN have a structural section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, then you need to set the structural section, but for 2015, only &lt;STRONG&gt;StructuralSectionPipeStandard&lt;/STRONG&gt; and &lt;STRONG&gt;StructuralSectionRoundHSS&lt;/STRONG&gt; are exposed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:31:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5120402#M76513</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2014-06-27T13:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Structural section properties API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5128916#M76514</link>
      <description>&lt;P&gt;Hi augusto.goncalves,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you suggested, I tried with &lt;STRONG&gt;StructuralSectionPipeStandard. &lt;/STRONG&gt;Still it is not working. Please see the below code snippet and the attached Revit family file used for this test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method "&lt;STRONG&gt;fi.Symbol.GetStructuralSection()"&lt;/STRONG&gt; is always returning &lt;STRONG&gt;null&lt;/STRONG&gt;, though the method "&lt;STRONG&gt;fi.Symbol.Family.HasStructuralSection()"&lt;/STRONG&gt; is returning &lt;STRONG&gt;TRUE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please post / send, if you have any working sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FilteredElementCollector collector = new FilteredElementCollector(document);
collector = collector.OfClass(typeof(FamilyInstance));
List&amp;lt;FamilyInstance&amp;gt; elementList = collector.Cast&amp;lt;FamilyInstance&amp;gt;().ToList();
foreach (FamilyInstance fi in elementList)
{
    if (fi.Symbol.Family.HasStructuralSection())
    {
        StructuralSectionShape shape1 = fi.Symbol.Family.StructuralSectionShape;

        StructuralSection ss = fi.Symbol.GetStructuralSection();  // This method is always returning null.
        if (ss == null)
            continue;

        StructuralSectionShape shape = ss.StructuralSectionShape;
        string shapeName = ss.StructuralSectionShapeName;
    }
}&lt;/PRE&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2014 12:38:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5128916#M76514</guid>
      <dc:creator>cadsindiaadn</dc:creator>
      <dc:date>2014-07-02T12:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Structural section properties API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5147846#M76515</link>
      <description>&lt;P&gt;And here is a sample code: &lt;A href="http://adndevblog.typepad.com/aec/2014/07/structural-section.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2014/07/structural-section.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2014 17:35:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5147846#M76515</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2014-07-11T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Structural section properties API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5315033#M76516</link>
      <description>&lt;P&gt;It would be greatly appreciated if&amp;nbsp;the remainder of the shapes will be made available for 2016.&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;Jon&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2014 06:51:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/structural-section-properties-api/m-p/5315033#M76516</guid>
      <dc:creator>GeomGym</dc:creator>
      <dc:date>2014-10-03T06:51:44Z</dc:date>
    </item>
  </channel>
</rss>

