<?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 Python and Morph in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-and-Morph/m-p/324292#M135</link>
    <description>&lt;P&gt;I want pull out areas from morph.&lt;/P&gt;&lt;P&gt;code is:&lt;/P&gt;&lt;P&gt;from Archicad import ACConnection&lt;/P&gt;&lt;P&gt;conn = ACConnection.connect()&lt;BR /&gt;assert conn&lt;/P&gt;&lt;P&gt;acc = conn.commands&lt;BR /&gt;act = conn.types&lt;BR /&gt;acu = conn.utilities&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;klasifikacijaGP = acu.FindClassificationItemInSystem('Urbanizem','Gradbena parcela')&lt;BR /&gt;elementiGP = acc.GetElementsByClassification(klasifikacijaGP.classificationItemId)&lt;BR /&gt;obmocjeGP = acu.GetUserDefinedPropertyId('Gradbena parcela','Območje')&lt;/P&gt;&lt;P&gt;povrsinaGP = acu.GetBuiltInPropertyId('Morph_FloorPlanAreaByStory')&lt;/P&gt;&lt;P&gt;obmocjeSeznamGP = [(acc.GetPropertyValuesOfElements(elementiGP,[obmocjeGP])[i].propertyValues[0].propertyValue.value) for i in range(len(elementiGP))]&lt;BR /&gt;povrsinaSeznamGP = [(acc.GetPropertyValuesOfElements(elementiGP,[povrsinaGP])[i].propertyValues[0].propertyValue.value) for i in range(len(elementiGP))]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In variable "povrsinaSeznamGP" I expect list of areas &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; But I got error message. What is wrong?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 13:17:39 GMT</pubDate>
    <dc:creator>Joze Marinko</dc:creator>
    <dc:date>2021-12-06T13:17:39Z</dc:date>
    <item>
      <title>Python and Morph</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-and-Morph/m-p/324292#M135</link>
      <description>&lt;P&gt;I want pull out areas from morph.&lt;/P&gt;&lt;P&gt;code is:&lt;/P&gt;&lt;P&gt;from Archicad import ACConnection&lt;/P&gt;&lt;P&gt;conn = ACConnection.connect()&lt;BR /&gt;assert conn&lt;/P&gt;&lt;P&gt;acc = conn.commands&lt;BR /&gt;act = conn.types&lt;BR /&gt;acu = conn.utilities&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;klasifikacijaGP = acu.FindClassificationItemInSystem('Urbanizem','Gradbena parcela')&lt;BR /&gt;elementiGP = acc.GetElementsByClassification(klasifikacijaGP.classificationItemId)&lt;BR /&gt;obmocjeGP = acu.GetUserDefinedPropertyId('Gradbena parcela','Območje')&lt;/P&gt;&lt;P&gt;povrsinaGP = acu.GetBuiltInPropertyId('Morph_FloorPlanAreaByStory')&lt;/P&gt;&lt;P&gt;obmocjeSeznamGP = [(acc.GetPropertyValuesOfElements(elementiGP,[obmocjeGP])[i].propertyValues[0].propertyValue.value) for i in range(len(elementiGP))]&lt;BR /&gt;povrsinaSeznamGP = [(acc.GetPropertyValuesOfElements(elementiGP,[povrsinaGP])[i].propertyValues[0].propertyValue.value) for i in range(len(elementiGP))]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In variable "povrsinaSeznamGP" I expect list of areas &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; But I got error message. What is wrong?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 13:17:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-and-Morph/m-p/324292#M135</guid>
      <dc:creator>Joze Marinko</dc:creator>
      <dc:date>2021-12-06T13:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Morph</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-and-Morph/m-p/324533#M136</link>
      <description>&lt;P&gt;FYI:&lt;/P&gt;&lt;P&gt;Graphisoft reported this issue as a bug. You can not obtain the area for all stories with this function. It will be fixed in a future release -- if they get to it (IMHO)?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 14:00:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-and-Morph/m-p/324533#M136</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2021-12-08T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Morph</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-and-Morph/m-p/324717#M137</link>
      <description>&lt;P&gt;Gerry, thanks for replay.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 14:27:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-and-Morph/m-p/324717#M137</guid>
      <dc:creator>Joze Marinko</dc:creator>
      <dc:date>2021-12-10T14:27:54Z</dc:date>
    </item>
  </channel>
</rss>

