<?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: What does Options.ComputeReferences do? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/what-does-options-computereferences-do/m-p/8575920#M44434</link>
    <description>&lt;P&gt;Oh awesome! Than k you for clarifying that. That make sense.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 05:14:31 GMT</pubDate>
    <dc:creator>ebarMLN7G</dc:creator>
    <dc:date>2019-02-06T05:14:31Z</dc:date>
    <item>
      <title>What does Options.ComputeReferences do?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/what-does-options-computereferences-do/m-p/8572269#M44432</link>
      <description>&lt;P&gt;I need to pass an instance of Options (&lt;A href="http://www.revitapidocs.com/2016/aa41fc13-9f81-836c-4271-82568ba5d7e8.htm" target="_blank"&gt;http://www.revitapidocs.com/2016/aa41fc13-9f81-836c-4271-82568ba5d7e8.htm&lt;/A&gt;) to get the geometry from an element:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GeometryElement geometryElement = element.get_Geometry(geometryOption);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the properties in Options class is ComputeReferences (&lt;A href="http://www.revitapidocs.com/2016/d7da6de4-74a9-60e2-826f-698a5730d0a8.htm" target="_blank"&gt;http://www.revitapidocs.com/2016/d7da6de4-74a9-60e2-826f-698a5730d0a8.htm&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentations on this property doesn't really explain what it does and changing it from false to true doens't really make a difference. I posted a question here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.revitapidocs.com/2016/d7da6de4-74a9-60e2-826f-698a5730d0a8.htm" target="_blank"&gt;http://www.revitapidocs.com/2016/d7da6de4-74a9-60e2-826f-698a5730d0a8.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But didn't get an answer. What exactly does this property do?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 20:05:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/what-does-options-computereferences-do/m-p/8572269#M44432</guid>
      <dc:creator>ebarMLN7G</dc:creator>
      <dc:date>2019-02-04T20:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: What does Options.ComputeReferences do?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/what-does-options-computereferences-do/m-p/8573646#M44433</link>
      <description>&lt;P&gt;Dear Ehsan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I documented this in 2010:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2010/01/geometry-options.html" target="_blank" rel="noopener"&gt;https://thebuildingcoder.typepad.com/blog/2010/01/geometry-options.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ComputeReferences – this flag sets Revit to make the GeometryObject.Reference property active for each geometry object extracted. When this is false, the property will be null. Remember that the default is false, you must turn this on or your reference will not be accessible.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This flag is off by default, because it costs performance to determine the geometry references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are required for dimensioning and all other operations that need to refer to specific aspects of the element sub-geometry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this clarifies.&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;</description>
      <pubDate>Tue, 05 Feb 2019 10:54:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/what-does-options-computereferences-do/m-p/8573646#M44433</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-02-05T10:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: What does Options.ComputeReferences do?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/what-does-options-computereferences-do/m-p/8575920#M44434</link>
      <description>&lt;P&gt;Oh awesome! Than k you for clarifying that. That make sense.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 05:14:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/what-does-options-computereferences-do/m-p/8575920#M44434</guid>
      <dc:creator>ebarMLN7G</dc:creator>
      <dc:date>2019-02-06T05:14:31Z</dc:date>
    </item>
  </channel>
</rss>

