<?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: API access to void Form in Conceptual Model in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5459628#M74506</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also note what Revitalizer just pointed out in a &lt;A href="https://forums.autodesk.com/t5/revit-api/determine-outer-surface-of-element/m-p/5459621" target="_self"&gt;separate thread&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;PlanarFace.Normal does not reliable give you a vector directing outwards.&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;RevitAPI.chm says: "This property is the 'surface normal' vector. This is not necessarily the normal vector pointing out of the solid that contains the face, to get that value use ComputeNormal(UV)."&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Cheers,&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jan 2015 08:06:46 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2015-01-06T08:06:46Z</dc:date>
    <item>
      <title>API access to void Form in Conceptual Model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5458545#M74503</link>
      <description>&lt;DIV&gt;I have a question someone&amp;nbsp;could hopefully help me with.. We're working with analysing Conceptual mass models. Using the Revit API, we extract the geometry Faces from the mass instance, apply a compass orientation to each Face which we can then use with our own API to apply solar loads etc. etc.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have noticed that if I create a mass using a cube shape say &amp;amp; then use a void form to further shape it, the orientations of the geometry Face I get from the wall surfaces adjacent to the void form are reversed. That is, a face that logically should be orientated to 'East' for example, is coming up as facing 'West'.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm guessing that I need to find the void form from the Document to identify adjacencies with the mass instance solid. The question is: does the Revit API give access to retrieving Void form elements via filtering etc.? I haven't been able to get anything so far.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hopefully I've expressed the problem clearly..&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your time!&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Jan 2015 12:27:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5458545#M74503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T12:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: API access to void Form in Conceptual Model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5458550#M74504</link>
      <description>&lt;P&gt;Dear Edwin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy New Year to you and&amp;nbsp;thank you for submitting your question here on the Revit API forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, indeed, I have run into that issue in the past already: an isolated face may have its normal vector reversed compared to the face retrieved from the solid it belongs to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, of course you can retrieve the void form elements from a family via a filtered element collector.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As always, you can use the RevitLookup database exploration tool to explore the family database elements and their properties to research how to set up an appropriate filter:&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;RevitLokup is compiled and therefore displays property values, but does not evaluate all object methods.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need a more interactive Revit API exploration, you can try out the Revit Ruby and Python shells:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2013/11/intimate-revit-database-exploration-with-the-python-shell.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2013/11/intimate-revit-database-exploration-with-the-python-shell.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&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>Mon, 05 Jan 2015 12:43:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5458550#M74504</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-01-05T12:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: API access to void Form in Conceptual Model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5458686#M74505</link>
      <description>&lt;P&gt;Thanks Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll proceed as you suggest &amp;amp; post the filter code once I've worked it out.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2015 14:28:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5458686#M74505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T14:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: API access to void Form in Conceptual Model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5459628#M74506</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also note what Revitalizer just pointed out in a &lt;A href="https://forums.autodesk.com/t5/revit-api/determine-outer-surface-of-element/m-p/5459621" target="_self"&gt;separate thread&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;PlanarFace.Normal does not reliable give you a vector directing outwards.&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;RevitAPI.chm says: "This property is the 'surface normal' vector. This is not necessarily the normal vector pointing out of the solid that contains the face, to get that value use ComputeNormal(UV)."&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Cheers,&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 08:06:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5459628#M74506</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-01-06T08:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: API access to void Form in Conceptual Model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5459775#M74507</link>
      <description>&lt;P&gt;Thanks very much Jeremy!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PlanarFace's Normal property vs the ComputeNormal method's return value was the missing piece of the puzzle..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can only echo jasonkhc &amp;amp; say that you guys are most helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Edwin&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 11:21:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-access-to-void-form-in-conceptual-model/m-p/5459775#M74507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T11:21:42Z</dc:date>
    </item>
  </channel>
</rss>

