<?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: Python, door.Symbol.LookupParameter in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/python-door-symbol-lookupparameter/m-p/11219411#M18636</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Actually I do not quite understand what your problem is. But in case of "Type Name" parameter I suggest using BuiltInParameter enumeration instead of parameter name to avoid problems with Revit localization:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;&amp;gt;&amp;gt;&amp;gt; door.Symbol.Parameter[BuiltInParameter.ALL_MODEL_TYPE_NAME].AsString()
'0915 x 2134mm'&lt;/LI-CODE&gt;
&lt;P&gt;P.S. don't forget to import BuiltInParameter before using it in the code.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from Autodesk.Revit.DB import BuiltInParameter&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 13:27:52 GMT</pubDate>
    <dc:creator>architect.bim</dc:creator>
    <dc:date>2022-06-07T13:27:52Z</dc:date>
    <item>
      <title>Python, door.Symbol.LookupParameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/python-door-symbol-lookupparameter/m-p/11219314#M18635</link>
      <description>&lt;P&gt;Hey Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am a beginner in Pythonshell, i found the introduction on GitHub for the doors, but the "door.Symbol.LookupParameter("Type Name").AsString()) does not work. The letters do not appears in Bolt type.&lt;/P&gt;&lt;P&gt;I work with Revit 2022. Do you have any idea what is wrong?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shofer6LSK7_0-1654605932475.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1076920iB81BDDF3460181F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shofer6LSK7_0-1654605932475.png" alt="shofer6LSK7_0-1654605932475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 12:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/python-door-symbol-lookupparameter/m-p/11219314#M18635</guid>
      <dc:creator>s.hofer6LSK7</dc:creator>
      <dc:date>2022-06-07T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python, door.Symbol.LookupParameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/python-door-symbol-lookupparameter/m-p/11219411#M18636</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Actually I do not quite understand what your problem is. But in case of "Type Name" parameter I suggest using BuiltInParameter enumeration instead of parameter name to avoid problems with Revit localization:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;&amp;gt;&amp;gt;&amp;gt; door.Symbol.Parameter[BuiltInParameter.ALL_MODEL_TYPE_NAME].AsString()
'0915 x 2134mm'&lt;/LI-CODE&gt;
&lt;P&gt;P.S. don't forget to import BuiltInParameter before using it in the code.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from Autodesk.Revit.DB import BuiltInParameter&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 13:27:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/python-door-symbol-lookupparameter/m-p/11219411#M18636</guid>
      <dc:creator>architect.bim</dc:creator>
      <dc:date>2022-06-07T13:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Python, door.Symbol.LookupParameter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/python-door-symbol-lookupparameter/m-p/11219430#M18637</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot, with the "BuiltInParameter.ALL_MODEL_TYPE_NAME" it is works exactly how i want it. Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 13:38:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/python-door-symbol-lookupparameter/m-p/11219430#M18637</guid>
      <dc:creator>s.hofer6LSK7</dc:creator>
      <dc:date>2022-06-07T13:38:36Z</dc:date>
    </item>
  </channel>
</rss>

