<?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 Built in Family Parameters auto creation issues in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/built-in-family-parameters-auto-creation-issues/m-p/7217283#M57297</link>
    <description>&lt;P&gt;Hi to Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a family wich has several nested families within itself. Each family has a parameter&amp;nbsp;which is then linked to a new parameter created in the nesting family in order to control the "base parameter". However, By some reason two of my linked parameters Length and Width have become Built-in Revit Parameters. &amp;nbsp;Apparently, by some reason, my instance parameters have been linked to a built-in parameter of length and width respectively within Revit. I haven't&amp;nbsp;been able to figure out whether this has happened due to a Revit&amp;nbsp;bug or it is actually something&amp;nbsp;Revit intend for users to be able to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on this issue will be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2017 17:40:40 GMT</pubDate>
    <dc:creator>rafael_guerra</dc:creator>
    <dc:date>2017-07-10T17:40:40Z</dc:date>
    <item>
      <title>Built in Family Parameters auto creation issues</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/built-in-family-parameters-auto-creation-issues/m-p/7217283#M57297</link>
      <description>&lt;P&gt;Hi to Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a family wich has several nested families within itself. Each family has a parameter&amp;nbsp;which is then linked to a new parameter created in the nesting family in order to control the "base parameter". However, By some reason two of my linked parameters Length and Width have become Built-in Revit Parameters. &amp;nbsp;Apparently, by some reason, my instance parameters have been linked to a built-in parameter of length and width respectively within Revit. I haven't&amp;nbsp;been able to figure out whether this has happened due to a Revit&amp;nbsp;bug or it is actually something&amp;nbsp;Revit intend for users to be able to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on this issue will be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 17:40:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/built-in-family-parameters-auto-creation-issues/m-p/7217283#M57297</guid>
      <dc:creator>rafael_guerra</dc:creator>
      <dc:date>2017-07-10T17:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Built in Family Parameters auto creation issues</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/built-in-family-parameters-auto-creation-issues/m-p/7261602#M57298</link>
      <description>&lt;P&gt;Hi Rafael,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I faced a similar problem when creating lamp families in Revit 2015.&lt;/P&gt;
&lt;P&gt;I needed to add a parameter named "Lampe" which was also the German equivalent for a "Lamp" BuiltInParameter.&lt;/P&gt;
&lt;P&gt;(As far as I remember, Revit created a parameter named "Lampe2" instead, but I may fail).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the problem depends on two circumstances: the UI language and the family template.&lt;/P&gt;
&lt;P&gt;When opening your family in my German Revit, there is no parameter "Length" and "Width" since these BuiltInParameters are translated at runtime:&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="BuiltInParameters.png" style="width: 403px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/383361i7238894570D718AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="BuiltInParameters.png" alt="BuiltInParameters.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the language Revit is run, if you try to get a parameter by its name, you may get null or not.&lt;/P&gt;
&lt;P&gt;I suppose that if you run Revit in another language than English, you can add "Width" and "Length" without problems.&lt;/P&gt;
&lt;P&gt;But when opening the resulting family just in an English Revit, you will either have &lt;EM&gt;two&lt;/EM&gt; "Width" parameters, or one of them will be renamed (temporarily?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the "Width" and "Length" parameters are very generic, I suppose you will hardly find another family template to use instead.&lt;/P&gt;
&lt;P&gt;It is possible to use a template of another category and change this category afterwards, resulting in missing BuiltInParameters:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/wall-closure-parameter-doesn-t-exist/td-p/7250962" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/wall-closure-parameter-doesn-t-exist/td-p/7250962&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, how to solve the problem ?&lt;/P&gt;
&lt;P&gt;Just use parameter names that don't match BuiltInParameter translations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:39:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/built-in-family-parameters-auto-creation-issues/m-p/7261602#M57298</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2017-07-28T15:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Built in Family Parameters auto creation issues</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/built-in-family-parameters-auto-creation-issues/m-p/7261713#M57299</link>
      <description>&lt;P&gt;Thanks for your explanation, now I can confidently say it is more a bug found in Revit rather than an exploitable capability.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 16:16:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/built-in-family-parameters-auto-creation-issues/m-p/7261713#M57299</guid>
      <dc:creator>rafael_guerra</dc:creator>
      <dc:date>2017-07-28T16:16:33Z</dc:date>
    </item>
  </channel>
</rss>

