<?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: Door/Window Areas in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6465269#M73506</link>
    <description>&lt;P&gt;Solved!. To be able to use IFCUtils from a python node in Dynamo I changed your code like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import&amp;nbsp;RevitServices
from&amp;nbsp;RevitServices.Persistence&amp;nbsp;import&amp;nbsp;DocumentManager
from&amp;nbsp;RevitServices.Transactions&amp;nbsp;import&amp;nbsp;TransactionManager

uidoc = DocumentManager.Instance.CurrentUIApplication
doc = DocumentManager.Instance.CurrentDBDocument
app = uidoc.Application&lt;/PRE&gt;&lt;P&gt;Now it properly loads the references from the API and it works. This is probably trivial but beeing a rookie took me a bit to figure out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help Kop!.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2016 17:37:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-28T17:37:44Z</dc:date>
    <item>
      <title>Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5535565#M73480</link>
      <description>&lt;P&gt;HI guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm needing to know the cut area's of windows and doors in a wall. I thought this would&amp;nbsp;be a simple matter of grabbing the BIP "HOST_Area_Computed" as with my testing that was returning the correct area. &amp;nbsp;It turns out that this is not the case from further testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLease refer to the attached&amp;nbsp;RVT file with two doors inserted into a wall. &amp;nbsp;They look similar but one is reporting through Revit Lookup 4m2 and the other 2m2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is this? &amp;nbsp;What actually is&amp;nbsp;&lt;SPAN&gt;"HOST_Area_Computed" reporting? &amp;nbsp;and what is the most reliable way of getting the cut area of windows and doors?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Phillip Miller&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 19:54:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5535565#M73480</guid>
      <dc:creator>PhillipM</dc:creator>
      <dc:date>2015-03-10T19:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5536122#M73481</link>
      <description>&lt;P&gt;Dear Phillip,&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 cannot really say anything about the values reported by the HOST_Area_Computed parameter. That belongs to the user interface, as far as I am concerned, and you would have to ask a product usage expert or application engineer to explain the meaning of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a pure API perspective, I assume you are aware of the Revit SDK MaterialQuantities sample?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2010/02/material-quantity-extraction.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2010/02/material-quantity-extraction.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that not give you pretty much exactly what you need?&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;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:41:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5536122#M73481</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-11T07:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5536146#M73482</link>
      <description>&lt;P&gt;Hi Jeremy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply and also the link to the SDK example. &amp;nbsp;I will look into that in the morning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To clarify what I'm doing, is, I want to find the surface areas of walls that are associated with Rooms. &amp;nbsp;To do this I'm making use of the the "SpatialElementGeometryCalculator" class which is perfect&amp;nbsp;as it does give areas of walls, floor and ceilings even if they are angled. &amp;nbsp;The only problem is it doesn't subtract&amp;nbsp;things like doors and windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your link to your blog has jogged my memory though with a workaround that I could implement. &amp;nbsp;I know what doors and windows are associated with&amp;nbsp;the&amp;nbsp;room and also the wall associated with the&amp;nbsp;rooms face, so I could get the area of the wall (which does calculate the gross - openings), then remove the associated&amp;nbsp;doors and windows grab the new area and minus it from the&amp;nbsp;gross and then turn back the transaction. &amp;nbsp;I'm pretty sure that will then give me the true area of the rooms walls &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will let you know how I get on.&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;Phillip Miller&lt;/P&gt;&lt;P&gt;Kiwi Codes Solutions Ltd&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 08:06:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5536146#M73482</guid>
      <dc:creator>PhillipM</dc:creator>
      <dc:date>2015-03-11T08:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5536160#M73483</link>
      <description>&lt;P&gt;Dear Phillip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, that is exacly the sort of approach I was thinking of.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wow, your use of the&amp;nbsp;&lt;SPAN&gt;SpatialElementGeometryCalculator sounds very exciting.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Building Coder does not provide any samples of using that except the rather complex&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Space Adjacency for Heat Load Calculation&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2013/07/football-and-space-adjacency-for-heat-load-calculation.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2013/07/football-and-space-adjacency-for-heat-load-calculation.html#3&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It would be great if you would like to share something sweet and simple making use of&amp;nbsp;that class in the way you describe.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 08:24:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5536160#M73483</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-11T08:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5537554#M73484</link>
      <description>&lt;P&gt;Hi Jermey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your suggestions. &amp;nbsp;The good news is that the temp delete of cutting objects in the wall works very well. &amp;nbsp;I'm not to sure why the BIP Area parm is reporting odd values but I suppose that does not matter any more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took a look at your suggested SDK examples and they didn't really apply to my situation as I was requiring the surface areas of walls associated to rooms. &amp;nbsp;AS a wall can span multiple&amp;nbsp;rooms I had two choices. &amp;nbsp;First up I used the room bounding object to extract the wall information. &amp;nbsp;The downside to this approach is that you had to take the boundary segment&amp;nbsp;length and then multiply that by the wall height, hoping that the wall had a consistent wall height. (Not always the case). &amp;nbsp;I also was requiring the floor and ceiling areas and information&amp;nbsp;and this was achieved&amp;nbsp;by shooting rays from the room location point directly up and down to gather that information. &amp;nbsp;We found the results in the approach&amp;nbsp;to be a bit unreliable and not very accurate&amp;nbsp;at times depending on how the walls etc were modeled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That lead us to investigate&amp;nbsp;the "&lt;SPAN&gt;SpatialElementGeometryCalculator" class, which after some trial and error does exactly what we were after. &amp;nbsp;I'm happy to provide you with some small sample code of this working for your users.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once again thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Phillip Miller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kiwi Codes Solutions Ltd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 02:55:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5537554#M73484</guid>
      <dc:creator>PhillipM</dc:creator>
      <dc:date>2015-03-12T02:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5537633#M73485</link>
      <description>&lt;P&gt;Dear Phillip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your appreciation and the good news!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems to me the one of the door areas seems to be counting something double.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, of course the spatial element geometry calculator is much more suited to the need you describe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking forward to the sample code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&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&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 06:38:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5537633#M73485</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-12T06:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5544413#M73486</link>
      <description>&lt;P&gt;Dear Phillip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I published your VB.NET sample code and the resulting C# implementation now:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/03/calculating-gross-and-net-wall-areas.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/03/calculating-gross-and-net-wall-areas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for the very fruitful discussion!&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>Tue, 17 Mar 2015 13:59:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5544413#M73486</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-17T13:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5546252#M73487</link>
      <description>&lt;P&gt;Dear Phillip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I mentioned some possible filtered element collector optimisations in my post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They would make a huge difference and be very important in a large project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now Vilo commented on the post and pointed out an even better solution, much better!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The method&amp;nbsp;&lt;SPAN&gt;HostObject.FindInserts returns all the wall openings right away.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;People have been asking for this for ages, and I was not aware that it had been added to the API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please take a look at the updated code in the GitHub repository and let us know whether this works for you as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 11:45:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5546252#M73487</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-18T11:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5547365#M73488</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;HI Jeremy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;You will not believe the timing on your’s and Vilo's post &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;I had already made the filtered element collector more optimised as you suggested in your blog post, but like you I didn't know about the "FindInserts" method. &amp;nbsp;It rocks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Just this morning I was contacted by my client saying the custom API works great on walls with hosted families but not with walls that had structure separated with lining walls. &amp;nbsp;IE 3 Walls making up one wall with the linings walls joined the structural wall.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;As you can see in my code I was comparing FamiliyInstance.HostID with the wall.id. &amp;nbsp;In a compound wall situation like above the cut opening in the linings wall has a different ID that the FamilyInstance HostID, so it didn't find any openings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;The "FindInserts" method solved all this in a much nicer way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Verdana',sans-serif; color: black;"&gt;Thank you Jeremy and Vilo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 20:43:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5547365#M73488</guid>
      <dc:creator>PhillipM</dc:creator>
      <dc:date>2015-03-18T20:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5547545#M73489</link>
      <description>&lt;P&gt;Hi Phillip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though you solved the problem (congratulations on that by the way) I might be able to provide some additional info on the subject.&lt;/P&gt;&lt;P&gt;During the last couple of months I've been working with something related. In my case the specific surface area of each window/door is the main interest and I have thus been digging in to this topic quite a bit.&lt;BR /&gt;My findings suggest that the value of host_area_computed in regards to family instances is, what I can best explain as a sum of the geometric objects 'overlapping' the wall geometry in all 3 axes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Terrible as that explanaition might be, consider the follwing:&lt;BR /&gt;I simple 1000x1000 mm window family containing only a sheet of glass with a thickness of 100 mm will report an area 1.2 square meters, equivalent to what could be measured in 2D plan, section and elevation views. If the geometry is copied in the family so that it contains two sweets of glass, host_area_computed will report the area of both, adding up to 2.4 square meters. This assumption can be supported by snooping a window hosted by a curtain wall. As the curtain wall has no actual depth/thickness only one overlapping area exist e.g. as defined by points the X and Z axes.&lt;/P&gt;&lt;P&gt;Whether I'm right or not doesn't really affect anything, but I thought it was worth sharing anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An easy approach to access the actual surface/opening area, that I've found extremely useful, resides in the Autodesk.Revit.DB.IFC namespace. More specifically in ExporterIFCUtils which has provided other interesting features in the past. The methods GetInstanceCutoutFromWall and ComputeAreaOfCurveLoops has been able to handle every oddly shaped window I have ever fed them. And especially the latter is handy in a very wide context &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 22:22:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5547545#M73489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-18T22:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5548183#M73490</link>
      <description>&lt;P&gt;Dear Phillip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your confirmation and providing samples in which the FindInserts method really makes a significant difference, besides the performance improvement!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I published the new findings and updated C# solution on The Building Coder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/03/findinserts-retrieves-all-openings-in-all-wall-types.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/03/findinserts-retrieves-all-openings-in-all-wall-types.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you like to update the VB.NET code in the GitHub repository as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&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, 19 Mar 2015 10:38:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5548183#M73490</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-19T10:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5548186#M73491</link>
      <description>&lt;P&gt;Dear Pjohan13,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wow, those are some pretty interesting and exciting findings you report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it would be well worth fleshing out in an own separate blog post, pssibly as a follow-up to the existing two, or maybe as a new topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two topics, in fact:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Revit HOST_Area_Computed calculation algorithms&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;ExporterIFCUtils, GetInstanceCutoutFromWall and ComputeAreaOfCurveLoops&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you happen to have any suitable sample code illustrating your statements above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;BR /&gt; &lt;BR /&gt;Cheers,&lt;BR /&gt; &lt;BR /&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 10:42:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5548186#M73491</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-19T10:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5549508#M73492</link>
      <description>&lt;P&gt;Hi Jeremy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would agree. Unfortunately I have no sample code&amp;nbsp;related to&amp;nbsp;host_area_computed analysis.&amp;nbsp;My findings on the parameter value is based on manual analysis including family editing, measuring, snooping and comparing through a series of small steps. When I eventually stumbled upon the IFCExportUtils methods, I settled my quest for clarity in regards to the bip.&lt;/P&gt;&lt;P&gt;The way I have used them, generally, is pretty straight forward.&amp;nbsp;I've attached a very simple samle implementing both methods to display the surface areas of selected windows/doors/curtain panels. I've also attached a sample project containing the earlier mentioned 1000x1000 mm single sheet window and a 'zig-zag'-shaped window intented to challenge the method a bit - which it doesn't &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One&amp;nbsp;beauty of the GetInstanceCutoutFromWall method is that it returns the opening boundary as a curve loop and thus provides additional posibilities related to windows/door. For instance, the perimeter&amp;nbsp;is available through curve lengths or&amp;nbsp;sealant area can be calculated by&amp;nbsp;adding a&amp;nbsp;CurveLoop.CreateViaOffset to the list thats feeds the ComputeAreaOfCurveLoops, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tested the methods on windows intersecting the vertical join between two different wall types and windows interesecting the horizontical join in stacked walls, in each case with consistant outcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally the GetAreaCutoutFromWall would instead be *FromHost to cover skylights as well. But with solid performance like this I can't really ask for more, except maybe the values exposed directly by the FamilyInstance class or curtain wall's orientation vector updating accordingly when flipped (a different discussion maybe :))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that&amp;nbsp;the sample can be of use and look forward to hopefully seeing more on this matter on The Building Coder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 23:25:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5549508#M73492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-19T23:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5549777#M73493</link>
      <description>Please note that this sample is a bit lazy. Normally I would not recommend unit conversion until 'the last moment' e.g. before printing values i the task dialog. Approaches like the one illustrated in the sample could obviously lead to some unintentional 'ft * m' scenarios causing unexpected outcome.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Peter</description>
      <pubDate>Fri, 20 Mar 2015 08:00:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5549777#M73493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-20T08:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5553130#M73494</link>
      <description>&lt;P&gt;Dear Peter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mille grazie och tack så mycket for your research and wonderful little sample add-in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I edited, tested, cleaned up and published it on The Building Coder and GitHub:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/03/ifcexportutils-methods-determine-door-and-window-area.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/03/ifcexportutils-methods-determine-door-and-window-area.html&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>Mon, 23 Mar 2015 14:14:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5553130#M73494</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-03-23T14:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5596550#M73495</link>
      <description>&lt;P&gt;Returning to the original issue of door and window areas,&amp;nbsp;&lt;A href="http://hclausen.net" target="_self"&gt;Håkon Clausen&lt;/A&gt;&amp;nbsp;submitted a significant improvement to the&amp;nbsp;&lt;A href="https://github.com/jeremytammik/SpatialElementGeometryCalculator" target="_self"&gt;SpatialElementGeometryCalculator&lt;/A&gt;&amp;nbsp;sample:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/04/gross-and-net-wall-area-calculation-enhancement-and-events.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/04/gross-and-net-wall-area-calculation-enhancement-and-events.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, Håkon!&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>Fri, 17 Apr 2015 09:12:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5596550#M73495</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-04-17T09:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6206913#M73496</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know its been a year since the last post for this topics, but i am very interessed in the code you guys have done!!&lt;/P&gt;&lt;P&gt;Thanks for the sharing!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for a solution quite similar and since i am a begginer in the world of programmation and Revit API, i would like some advise to adapt this code to my need if it doesn´t bother you of course.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would like to know if it is possible to create a parameter Revit of area type that will be visible in the RoomSchedule and that will take for value the net total area of wall of the room. And do so for each room where as to put the result of the fonction in the taskdiaog?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks u !&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 17:11:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6206913#M73496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-09T17:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6417054#M73497</link>
      <description>&lt;P&gt;guys, i understand that :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curveLoop = I.ExporterIFCUtils.&lt;SPAN&gt;GetInstanceCutoutFromWall&lt;/SPAN&gt;(doc,&amp;nbsp;wall,&amp;nbsp;familyInstance,&amp;nbsp;&lt;SPAN&gt;out&lt;/SPAN&gt;&amp;nbsp;basisY)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns the curve loop of an cutout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately i am trying to achieve the result from the python side.&lt;/P&gt;&lt;P&gt;my efforts end in errors for the "out basisY"&lt;/P&gt;&lt;P&gt;as my coding skills are still limited, can anyone help me out on this ?&lt;/P&gt;&lt;P&gt;tx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 16:33:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6417054#M73497</guid>
      <dc:creator>office</dc:creator>
      <dc:date>2016-07-03T16:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6417453#M73498</link>
      <description>Issue is solved for the python code required</description>
      <pubDate>Mon, 04 Jul 2016 06:56:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6417453#M73498</guid>
      <dc:creator>office</dc:creator>
      <dc:date>2016-07-04T06:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Door/Window Areas</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6417471#M73499</link>
      <description>&lt;P&gt;Dear Kop,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please add a sample code snippet showing how you solved it, in case anyone else runs into the same issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&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>Mon, 04 Jul 2016 07:13:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/6417471#M73499</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-07-04T07:13:21Z</dc:date>
    </item>
  </channel>
</rss>

