<?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>Thema "Betreff: Python Connection in ArchiCAD" in Add-ons &amp; Zusatzprogramme</title>
    <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587171#M2059</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 165701.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/53032iC5D874233C4A81D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-02-07 165701.png" alt="Screenshot 2024-02-07 165701.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 15:57:39 GMT</pubDate>
    <dc:creator>bbeata</dc:creator>
    <dc:date>2024-02-07T15:57:39Z</dc:date>
    <item>
      <title>Python Connection in ArchiCAD</title>
      <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587104#M2053</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I decided to try to run a parking_spaces script on my pc but I have some difficulty with it. &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I got the following error message:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;classifications_tree = self.accommands.GetAllClassificationsInSystem(self.FindClassificationSystem(system_name))&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Users\beata.bordas\AppData\Roaming\Python\Python312\site-packages\archicad\releases\ac26\b3005utilities.py", line 63, in FindClassificationSystem&lt;BR /&gt;return next(system.classificationSystemId for system in&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;StopIteration&lt;/P&gt;&lt;P&gt;=== Prozess abgebrochen ===&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thougt that maybe its becouse of AC-Language so I tried to modefy the script from:&lt;/P&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;'General_ElementID'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;propertyValueStringPrefix&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'P '&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;classificationItem&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;FindClassificationItemInSystem&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'ARCHICAD Classification'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Parking Space'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;elements&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;acc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;GetElementsByClassification&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;classificationItem&lt;/SPAN&gt;&lt;SPAN&gt;.classificationItemId)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;################################ CONFIGURATION #################################&lt;/SPAN&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;'Element ID'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;propertyValueStringPrefix&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'P '&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;classificationItem&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;FindClassificationItemInSystem&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Archicad Klassifizierung - 26'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Parkplatz'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;elements&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;acc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;GetElementsByClassification&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;classificationItem&lt;/SPAN&gt;&lt;SPAN&gt;.classificationItemId)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;ROW_GROUPING_LIMIT&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;0.25&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;STORY_GROUPING_LIMIT&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it stil not working. Or is it because I'm not installed an archicad Python Package from the following website:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.org/project/archicad/#files" target="_blank" rel="noopener"&gt;https://pypi.org/project/archicad/#files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information I'm working on ArchiCAD Germany, windows 11, python 3.12.0 and tested on AC26 Up5002.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Beata&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 10:40:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587104#M2053</guid>
      <dc:creator>bbeata</dc:creator>
      <dc:date>2024-02-07T10:40:42Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Connection in ArchiCAD</title>
      <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587124#M2057</link>
      <description>&lt;P&gt;nur mal interessehalber (wahrscheinlich kann ich Dir nicht weiterhelfen):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- woher hast du das skript?&lt;/P&gt;
&lt;P&gt;- was soll es tun?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 12:35:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587124#M2057</guid>
      <dc:creator>archig</dc:creator>
      <dc:date>2024-02-07T12:35:20Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Connection in ArchiCAD</title>
      <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587167#M2058</link>
      <description>&lt;P&gt;Ein Beispiel auf der Graphisoft Seite, im Bereich Python (Ready-to-go scripts). Und das Script sollte die Parkplätze durchnummerieren.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:52:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587167#M2058</guid>
      <dc:creator>bbeata</dc:creator>
      <dc:date>2024-02-07T15:52:21Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Connection in ArchiCAD</title>
      <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587171#M2059</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 165701.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/53032iC5D874233C4A81D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-02-07 165701.png" alt="Screenshot 2024-02-07 165701.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:57:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587171#M2059</guid>
      <dc:creator>bbeata</dc:creator>
      <dc:date>2024-02-07T15:57:39Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Connection in ArchiCAD</title>
      <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587180#M2060</link>
      <description>&lt;P&gt;und?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hast du das Skript mit deinen Modifikationen zum Laufen gebracht?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 16:26:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587180#M2060</guid>
      <dc:creator>archig</dc:creator>
      <dc:date>2024-02-07T16:26:35Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Connection in ArchiCAD</title>
      <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587293#M2061</link>
      <description>&lt;P&gt;erst mal ohne zu modifizieren und danach mir aufgefallen, vielleicht es an der Sprache wenn er mir auf der Satz 63 bezüglich Klassifizierung als Fehler gezeigt hat. Deswegen ganz oben der Satz 13 und 16 auf Deutsch angepasst. Trotzdem hat es nicht funktioniert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dann habe ich die Seite besucht:&amp;nbsp;&lt;A href="https://archicadapi.graphisoft.com/getting-started-with-archicad-python-connection" target="_blank"&gt;https://archicadapi.graphisoft.com/getting-started-with-archicad-python-connection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bbeata_0-1707383319610.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/53070i5D6479F0B20F91A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bbeata_0-1707383319610.png" alt="bbeata_0-1707383319610.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;und ist mir eingefallen, dass es wohl an dem Package liegt, wollte aber erst nachfragen.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 09:10:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587293#M2061</guid>
      <dc:creator>bbeata</dc:creator>
      <dc:date>2024-02-08T09:10:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Connection in ArchiCAD</title>
      <link>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587315#M2062</link>
      <description>&lt;P&gt;Geschaft! &lt;span class="lia-unicode-emoji" title=":leicht_lächelndes_Gesicht:"&gt;🙂&lt;/span&gt; Es lag erst mal an dem fehlende Package, was ich vorher beschrieben habe und zweite an der Sprache und zwar sollte nur der Satz 15 bzw. 16 angepasst sein:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;classificationItem = acu.FindClassificationItemInSystem(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'Archicad Klassifizierung - 26', 'Parkplatz')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Für mich persönlich war unklar beschrieben wie man die Package installiert, aber dank den ChatGPT habe es gaschafft. &lt;span class="lia-unicode-emoji" title=":leicht_lächelndes_Gesicht:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 11:16:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Add-ons-Zusatzprogramme/Python-Connection-in-ArchiCAD/m-p/587315#M2062</guid>
      <dc:creator>bbeata</dc:creator>
      <dc:date>2024-02-08T11:16:16Z</dc:date>
    </item>
  </channel>
</rss>

