<?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: Getting all property values of  type 'Door' from Archicad 26 project (python) in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373579#M854</link>
    <description>&lt;P&gt;Line 38 is incorrect since you already defined the property Ids. Delete this section and just set&lt;/P&gt;
&lt;P&gt;propIds = propertyIds ---&amp;nbsp; see attached The function getpropertyIds does not take a element(s) (improper usage)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Delete everything after line 69 --- not needed.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 18:01:10 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2023-03-17T18:01:10Z</dc:date>
    <item>
      <title>Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373353#M848</link>
      <description>&lt;P&gt;Hi everyone! I'm new to both python and archicad API and I'm having troubles with retrieving property values of certain elements(doors, in this case). I would appreciate a little help.&lt;/P&gt;
&lt;P&gt;I'm using archicad26 with python 3.8.9. The code I'm using is attached below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. By saying properties i mean height, width, type(single-leaf, double-leaf, sliding, and revolving doors),&amp;nbsp;&lt;SPAN&gt;thickness, m&lt;/SPAN&gt;aterial(leaf and frame: for example, wood, glass, metal), оperation(swing direction, pivot point&amp;nbsp; and rotation angle),&amp;nbsp;&lt;SPAN&gt;Hardware(placement of glazing).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-03-16 at 15.20.29.png" style="width: 870px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/56191i50225A78E907E2E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-03-16 at 15.20.29.png" alt="Screenshot 2023-03-16 at 15.20.29.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:11:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373353#M848</guid>
      <dc:creator>noriksaroyan</dc:creator>
      <dc:date>2024-09-26T10:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373531#M849</link>
      <description>&lt;P&gt;Not sure why you need ALL parameters for doors? There are over 170 'normal' parameters for doors and a additional number of 'special' parameters. List all of those parameters is very complicate as each has its own listing format which would make the script long and complicated Better to just list the ones you need and use the standard recover functions. .&lt;/P&gt;
&lt;P&gt;I have attached a script to list all the parameters which have a normal status. Looking at that script should get you started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:47:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373531#M849</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-03-17T12:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373547#M850</link>
      <description>&lt;P&gt;Hi Gerry!&lt;/P&gt;&lt;P&gt;Thank you very much for your script. I tried to modify it to include only selected properties, but I might be doing some mistakes. Can you please help? Thank you very much. (attached screenshot)&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/56199i362B5DE8E8F2161E/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screenshot 2023-03-17 at 14.16.38.png" title="Screenshot 2023-03-17 at 14.16.38.png" /&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:23:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373547#M850</guid>
      <dc:creator>joanaif</dc:creator>
      <dc:date>2023-03-17T14:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373550#M851</link>
      <description>&lt;P&gt;I think there is at least a comma at the end of your "propertyIds" thaht should'nt be here. I'm not sure that this is the only problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(You should share the code and not a screenshot to help to debug it)&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:29:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373550#M851</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-03-17T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373552#M852</link>
      <description>&lt;P&gt;Hi! Mathias, Thank you very much. Here is the code&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:32:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373552#M852</guid>
      <dc:creator>joanaif</dc:creator>
      <dc:date>2023-03-17T14:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373554#M853</link>
      <description>&lt;P&gt;Now with the file..&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:34:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373554#M853</guid>
      <dc:creator>joanaif</dc:creator>
      <dc:date>2023-03-17T14:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373579#M854</link>
      <description>&lt;P&gt;Line 38 is incorrect since you already defined the property Ids. Delete this section and just set&lt;/P&gt;
&lt;P&gt;propIds = propertyIds ---&amp;nbsp; see attached The function getpropertyIds does not take a element(s) (improper usage)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Delete everything after line 69 --- not needed.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 18:01:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373579#M854</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-03-17T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373580#M855</link>
      <description>&lt;P&gt;Hi Gerry! Thank a lot! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 18:04:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373580#M855</guid>
      <dc:creator>joanaif</dc:creator>
      <dc:date>2023-03-17T18:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373590#M856</link>
      <description>&lt;P&gt;Sorry, my bad in describing the problem. I need to open a request to manufacturers after getting the attributes of the doors.&lt;/P&gt;&lt;P&gt;For instance: we have a wooden door, 2,2 meters height and 1.2 meters width. I need to retrieve all these attributes and then I have to insert it to Json file, so I need to get those properties separate(width=1.2 length=2,2, material="Wood") to map it into an object and then convert those objects into a json file&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 19:33:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373590#M856</guid>
      <dc:creator>noriksaroyan</dc:creator>
      <dc:date>2023-03-17T19:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373592#M857</link>
      <description>&lt;P&gt;I'm encountering these errors while running your code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Property definition not found by localized name (groupName: "Calculation data", name : "Doors - frame length&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Property definition not found by localized name (groupName: "Calculation data", name : "Doors - interior casing volume&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Property definition not found by localized name (groupName: "Calculation data", name : "Doors - exterior casing volume&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Property definition not found by localized name (groupName: "Calculation data", name : "Doors - frame area&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Mar 2023 20:07:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373592#M857</guid>
      <dc:creator>noriksaroyan</dc:creator>
      <dc:date>2023-03-17T20:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373593#M858</link>
      <description>&lt;P&gt;Hi, I guess that's because those are properties defines by me. Please use the&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;act&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;BuiltInPropertyUserId and delete lines 23 to 26 (or use your own properties).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Mar 2023 21:03:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373593#M858</guid>
      <dc:creator>joanaif</dc:creator>
      <dc:date>2023-03-17T21:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all property values of  type 'Door' from Archicad 26 project (python)</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373608#M859</link>
      <description>&lt;P&gt;In reference to including properties in a Json file: I have included an example for anyone interested. It is really just a couple of lines. i did not brother to include all the properties mentioned, I'll leave that to you, as I think there are enough examples out there. I just picked a few from the previous examples. Note that Graphisoft's data availability is so 'screwy' that finding all of the properties is always a chore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically one creates a Python dictionary and then converts that to a Json file which is just a one line function. Note that only the standard units can be converted (strings,int,float,arrays,bools, etc.). See the documentation.&lt;/P&gt;
&lt;P&gt;This bring up a problem in that, some properties in Archicad return a object not a standard unit. One would have to iterate to the standard unit in those cases. That is why I just converted all the responses to a string-- see the example. If this would not be acceptable, then you would have to dig deeper.&lt;/P&gt;
&lt;P&gt;BTW&amp;nbsp; -- a better route might be to just create a schedule and then dump it to a excel file in Archicad&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 03:19:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Getting-all-property-values-of-type-Door-from-Archicad-26/m-p/373608#M859</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-03-18T03:19:09Z</dc:date>
    </item>
  </channel>
</rss>

