<?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: Arguments of GetBuiltInPropertyId() in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Arguments-of-GetBuiltInPropertyId/m-p/583058#M961</link>
    <description>&lt;P&gt;Hi iu-tamura&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can list all BuiltIn- and UserDefinedProperties of a project by running the script below. If you run it in visual studio code or in Archicad Python Palette, the script should return available values to the terminal- / console-view. After that, you can copy and paste the printed result into, for example, Word and save it as a text document.&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from archicad import ACConnection

conn = ACConnection.connect()
acc = conn.commands
act = conn.types
acu = conn.utilities

PropertyIds = acc.GetAllPropertyNames()
for PropertyId in PropertyIds:
    print(PropertyId)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Result should look like this (Taken from visual studio code)&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JT1986_0-1704629543797.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/51653i87A0714A34C8C138/image-size/large?v=v2&amp;amp;px=999" role="button" title="JT1986_0-1704629543797.png" alt="JT1986_0-1704629543797.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;-JT&lt;/DIV&gt;</description>
    <pubDate>Sat, 13 Jan 2024 02:10:30 GMT</pubDate>
    <dc:creator>JT1986</dc:creator>
    <dc:date>2024-01-13T02:10:30Z</dc:date>
    <item>
      <title>Arguments of GetBuiltInPropertyId()</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Arguments-of-GetBuiltInPropertyId/m-p/582893#M960</link>
      <description>&lt;DIV&gt;&amp;nbsp;I know I can use GetBuiltInPropertyId as shown below example, but where do I find the arguments (element type and property name) such as "Zone_ZoneName"?&lt;/DIV&gt;
&lt;DIV&gt;Is there a list somewhere?&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;example&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;archicad&lt;/SPAN&gt; &lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;ACConnection&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;conn&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ACConnection&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;connect&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;assert&lt;/SPAN&gt; &lt;SPAN&gt;conn&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;acu&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;conn&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;utilities&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;propertyId&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;acu&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;GetBuiltInPropertyId&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Zone_ZoneName"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:08:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Arguments-of-GetBuiltInPropertyId/m-p/582893#M960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-26T10:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arguments of GetBuiltInPropertyId()</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Arguments-of-GetBuiltInPropertyId/m-p/583058#M961</link>
      <description>&lt;P&gt;Hi iu-tamura&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can list all BuiltIn- and UserDefinedProperties of a project by running the script below. If you run it in visual studio code or in Archicad Python Palette, the script should return available values to the terminal- / console-view. After that, you can copy and paste the printed result into, for example, Word and save it as a text document.&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from archicad import ACConnection

conn = ACConnection.connect()
acc = conn.commands
act = conn.types
acu = conn.utilities

PropertyIds = acc.GetAllPropertyNames()
for PropertyId in PropertyIds:
    print(PropertyId)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Result should look like this (Taken from visual studio code)&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JT1986_0-1704629543797.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/51653i87A0714A34C8C138/image-size/large?v=v2&amp;amp;px=999" role="button" title="JT1986_0-1704629543797.png" alt="JT1986_0-1704629543797.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;-JT&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 Jan 2024 02:10:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Arguments-of-GetBuiltInPropertyId/m-p/583058#M961</guid>
      <dc:creator>JT1986</dc:creator>
      <dc:date>2024-01-13T02:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Arguments of GetBuiltInPropertyId()</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Arguments-of-GetBuiltInPropertyId/m-p/583237#M963</link>
      <description>&lt;P&gt;Thanks for your answer.　I was able to view the property list!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 04:58:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Arguments-of-GetBuiltInPropertyId/m-p/583237#M963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-09T04:58:49Z</dc:date>
    </item>
  </channel>
</rss>

