<?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: change element property values using python API in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/580002#M951</link>
    <description>&lt;P&gt;Unfortunately it's not possible to create new elements with the Python API out of the box. You'll need to employ some Add-On similar to this: &lt;A href="https://github.com/tlorantfy/archicad-additional-json-commands" target="_blank"&gt;https://github.com/tlorantfy/archicad-additional-json-commands&lt;/A&gt; This one has functions to create slabs and columns that you can use. For other elements you would need to adapt the Add-On.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 20:08:13 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2023-12-12T20:08:13Z</dc:date>
    <item>
      <title>change element property values using python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/579776#M948</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;I have extracted property values of elements using python API.&amp;nbsp; I made some changes on both numeric and non-numeric values, and now I want to insert new modified element property values back to the elements in archicad. I would appriciate it very much if there is any advise on how to do it, if possible,&amp;nbsp; using python API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Biniyam&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:08:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/579776#M948</guid>
      <dc:creator>Biniyam</dc:creator>
      <dc:date>2024-09-26T10:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: change element property values using python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/579906#M949</link>
      <description>&lt;P&gt;Hi Biniyam,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the function &lt;A href="https://archicadapi.graphisoft.com/archicadPythonPackage/archicad.releases.ac27.html#archicad.releases.ac27.b3001commands.Commands.SetPropertyValuesOfElements" target="_self"&gt;&lt;STRONG&gt;SetPropertyValuesOfElements&lt;/STRONG&gt;&lt;/A&gt; would do what you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Bernd&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 10:25:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/579906#M949</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2023-12-12T10:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: change element property values using python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/579937#M950</link>
      <description>&lt;P&gt;Thank you BerndSchwarzenbacher,&lt;BR /&gt;&lt;BR /&gt;I was able to modify some properties and insert them back to the model. Is there any way to creat new element in archicad using python Api? I was wandering if i could use the extracted property values in the new element?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:39:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/579937#M950</guid>
      <dc:creator>Biniyam</dc:creator>
      <dc:date>2023-12-12T14:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: change element property values using python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/580002#M951</link>
      <description>&lt;P&gt;Unfortunately it's not possible to create new elements with the Python API out of the box. You'll need to employ some Add-On similar to this: &lt;A href="https://github.com/tlorantfy/archicad-additional-json-commands" target="_blank"&gt;https://github.com/tlorantfy/archicad-additional-json-commands&lt;/A&gt; This one has functions to create slabs and columns that you can use. For other elements you would need to adapt the Add-On.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 20:08:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/580002#M951</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2023-12-12T20:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: change element property values using python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/580291#M954</link>
      <description>&lt;P&gt;Thank you! Does the python API has functionalies to extract dimentions of an element? or alternatively the x,y,z coordinates of a line, box or any element? The bounding boxes command is not that helpful for my purpose. Is there any logic or method in python API to extract model's geometry?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 08:46:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/580291#M954</guid>
      <dc:creator>LINKArno</dc:creator>
      <dc:date>2023-12-14T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: change element property values using python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/581630#M957</link>
      <description>&lt;P&gt;There are some built in properties which should give you some geometry information about elements.&lt;BR /&gt;You can run code like the following to see all available properties:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from archicad import ACConnection

conn = ACConnection.connect()
acc = conn.commands

propertyNames = acc.GetAllPropertyNames()
for propName in propertyNames:
    print(propName)&lt;/LI-CODE&gt;
&lt;P&gt;Typically you get stuff like height offsets, thickness, length etc. But I couldn't see anything giving x,y locations.&lt;BR /&gt;&lt;BR /&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 09:38:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/change-element-property-values-using-python-API/m-p/581630#M957</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2023-12-24T09:38:09Z</dc:date>
    </item>
  </channel>
</rss>

