<?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: Reported door width is not actual width of door in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/reported-door-width-is-not-actual-width-of-door/m-p/8215846#M48134</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Dear Rlmccorm,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I see no error (or even the possibility of making one) in the code snippet you share.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My first impulse would have been to say that this is a typical case of GIGO or garbage in, garbage out:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://en.wikipedia.org/wiki/Garbage_in,_garbage_out" target="_blank"&gt;https://en.wikipedia.org/wiki/Garbage_in,_garbage_out&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Whatever the person who defined the family and its symbols put in there is what you get back in the query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, since you also point out the existence of the frame type and 'Paired door' information, these settings may be intentional, and you may need to take them into account accordingly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From the API point of view, there is really no way to tell.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need to determine the intention of the content creator and best usage practices for that content.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That, again, has nothing to do with the API, so you may be better of discussing this question further in a new thread in the architectural forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2018 06:27:40 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2018-08-22T06:27:40Z</dc:date>
    <item>
      <title>Reported door width is not actual width of door</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reported-door-width-is-not-actual-width-of-door/m-p/8215669#M48133</link>
      <description>&lt;P&gt;I've been using this to get the door width:&lt;/P&gt;&lt;PRE&gt;Parameter width = door.Symbol.get_Parameter(BuiltInParameter.DOOR_WIDTH);&lt;/PRE&gt;&lt;P&gt;..It works fine for 3' doors, but still reports 3' for double wide doors, where i think it should be reporting 6'.&lt;/P&gt;&lt;P&gt;Is this expected behavior and/or should I be looking at the frame type or Identity data to determine if its 2x the reported width?&lt;/P&gt;&lt;P&gt;For these 'double wide' doors, I see the frame type is S2 ..I don't find much documentation frame types so I'm not sure if this is something I can count on in my code.&lt;/P&gt;&lt;P&gt;I also see the Identity data for the door has a 'Paired door' parameter, with a value of PR. That makes more sense since paired door is basically a double door. Is this the correct parameter to look at? If so, is there an easy way to get at it programatically? I don't see it showing up when&amp;nbsp; traversing the built in parameters using:&lt;/P&gt;&lt;PRE&gt;foreach (Parameter p in instance.Parameters)
{
BuiltInParameter biParam = (p.Definition as InternalDefinition).BuiltInParameter;

...

}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 04:08:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reported-door-width-is-not-actual-width-of-door/m-p/8215669#M48133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-22T04:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reported door width is not actual width of door</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reported-door-width-is-not-actual-width-of-door/m-p/8215846#M48134</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Rlmccorm,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I see no error (or even the possibility of making one) in the code snippet you share.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My first impulse would have been to say that this is a typical case of GIGO or garbage in, garbage out:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://en.wikipedia.org/wiki/Garbage_in,_garbage_out" target="_blank"&gt;https://en.wikipedia.org/wiki/Garbage_in,_garbage_out&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Whatever the person who defined the family and its symbols put in there is what you get back in the query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, since you also point out the existence of the frame type and 'Paired door' information, these settings may be intentional, and you may need to take them into account accordingly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From the API point of view, there is really no way to tell.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need to determine the intention of the content creator and best usage practices for that content.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That, again, has nothing to do with the API, so you may be better of discussing this question further in a new thread in the architectural forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 06:27:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reported-door-width-is-not-actual-width-of-door/m-p/8215846#M48134</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-08-22T06:27:40Z</dc:date>
    </item>
  </channel>
</rss>

