<?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 How to get SteelProxyElement geometry in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/10347898#M25758</link>
    <description>&lt;P&gt;I try to acces to the geometry of a SteelProxyElement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do this i use&amp;nbsp; this portion of code&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        IOrderedEnumerable&amp;lt;Element&amp;gt; GetAllModelElements(Document doc)
        {
            List&amp;lt;Element&amp;gt; elements = new List&amp;lt;Element&amp;gt;();

            FilteredElementCollector collector
              = (FilteredElementCollector)new FilteredElementCollector(doc)
              .WhereElementIsNotElementType();

            Options options = new Options();
            if (null != options)
            {
                options.ComputeReferences = true;
                options.DetailLevel = ViewDetailLevel.Fine;
            }
            foreach (Element e in collector)
            {
                if ((e.Category!=null) &amp;amp;&amp;amp;(e.Category.Name.ToUpper()=="PLATINES"))
                {
                    elements.Add(e);
                }

                if (e.get_Geometry(options) != null)
                {
                    elements.Add(e);
                }
            }
            return elements.OrderBy(e =&amp;gt; e.Category.Name);
        }&lt;/LI-CODE&gt;&lt;P&gt;e.get_Geometry return null for SteelProxyElement why ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 15:14:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-28T15:14:11Z</dc:date>
    <item>
      <title>How to get SteelProxyElement geometry</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/10347898#M25758</link>
      <description>&lt;P&gt;I try to acces to the geometry of a SteelProxyElement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do this i use&amp;nbsp; this portion of code&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        IOrderedEnumerable&amp;lt;Element&amp;gt; GetAllModelElements(Document doc)
        {
            List&amp;lt;Element&amp;gt; elements = new List&amp;lt;Element&amp;gt;();

            FilteredElementCollector collector
              = (FilteredElementCollector)new FilteredElementCollector(doc)
              .WhereElementIsNotElementType();

            Options options = new Options();
            if (null != options)
            {
                options.ComputeReferences = true;
                options.DetailLevel = ViewDetailLevel.Fine;
            }
            foreach (Element e in collector)
            {
                if ((e.Category!=null) &amp;amp;&amp;amp;(e.Category.Name.ToUpper()=="PLATINES"))
                {
                    elements.Add(e);
                }

                if (e.get_Geometry(options) != null)
                {
                    elements.Add(e);
                }
            }
            return elements.OrderBy(e =&amp;gt; e.Category.Name);
        }&lt;/LI-CODE&gt;&lt;P&gt;e.get_Geometry return null for SteelProxyElement why ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 15:14:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/10347898#M25758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-28T15:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SteelProxyElement geometry</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/10349418#M25759</link>
      <description>&lt;P&gt;I am not familiar with steel proxy elements. A proxy is a placeholder. Maybe the placeholder has no own geometry? Have you explored the elements, its geometry, properties and relationships with RevitLookup and other tools.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 07:28:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/10349418#M25759</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-05-29T07:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SteelProxyElement geometry</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/10352712#M25760</link>
      <description>&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Yes, here a screen copy.&lt;/P&gt;&lt;P&gt;but the get_Geometry(_opt) return always null. and i don't know why.&lt;/P&gt;&lt;P&gt;thanks for your answer.&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="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/924974i314ABB295E8C2B20/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 09:19:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/10352712#M25760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-31T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SteelProxyElement geometry</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/11089559#M25761</link>
      <description>&lt;P&gt;Hi, did you find a solution for that? I am also facing the same issue.&lt;/P&gt;&lt;P&gt;SteelProxyElement is not even documented in the API docs &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 07:39:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/11089559#M25761</guid>
      <dc:creator>heziTYJKR</dc:creator>
      <dc:date>2022-04-07T07:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get SteelProxyElement geometry</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/11873038#M25762</link>
      <description>&lt;P&gt;If you look at the SteelProxyElement in Revit 2023 RevitLookup when the&amp;nbsp;SteelProxyElement is visible in the active view, the geometry will exist:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteelProxyElement.png" style="width: 802px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1198394i883BAB5498394E19/image-size/large?v=v2&amp;amp;px=999" role="button" title="SteelProxyElement.png" alt="SteelProxyElement.png" /&gt;&lt;/span&gt;&lt;BR /&gt;In the code itself, you may need to iterate through views (using each view in DB.Options with elem.Geometry(options)) to get a valid geometry element.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 21:48:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-get-steelproxyelement-geometry/m-p/11873038#M25762</guid>
      <dc:creator>matthew_taylor</dc:creator>
      <dc:date>2023-04-04T21:48:05Z</dc:date>
    </item>
  </channel>
</rss>

