<?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: Problem with Python API in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Problem-with-Python-API/m-p/264318#M835</link>
    <description>From version 24, Archicad has a new JSON Interface. It provides a way for external applications to automate ARCHICAD functions. It is a one-way communication from the external software to ARCHICAD.&lt;BR /&gt;
The communication happens via HTTP using JSON messages.&lt;BR /&gt;
&lt;BR /&gt;
GRAPHISOFT publishes an official Python binding for the ARCHICAD JSON Interface at the Python Package Index (PyPI). This package helps to establish the connection and hides the JSON communication layer.&lt;BR /&gt;
&lt;BR /&gt;
When you are running a python script, the script sends JSON messages to Archicad and Archicad returns JSON responses back to the script via HTTP.&lt;BR /&gt;
&lt;BR /&gt;
So the Python API is based on the JSON Interface. I recommend you to check the official documentation of the JSON Interface: &lt;A href="https://archicadapi.graphisoft.com/JSONInterfaceDocumentation" target="_blank"&gt;&lt;LINK_TEXT text="https://archicadapi.graphisoft.com/JSON ... umentation"&gt;https://archicadapi.graphisoft.com/JSONInterfaceDocumentation&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
The names of the Python API functions are completely the same as the JSON command names.</description>
    <pubDate>Wed, 19 May 2021 13:26:27 GMT</pubDate>
    <dc:creator>Tibor Lorantfy</dc:creator>
    <dc:date>2021-05-19T13:26:27Z</dc:date>
    <item>
      <title>Problem with Python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Problem-with-Python-API/m-p/264316#M833</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Is there any way to build a Add-On API using python. I want to build a Add-On API using python but i didn't find any resource or any document for this task.&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:38:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Problem-with-Python-API/m-p/264316#M833</guid>
      <dc:creator>Jahidur</dc:creator>
      <dc:date>2021-09-14T07:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Problem-with-Python-API/m-p/264317#M834</link>
      <description>It is not possible yet to build Add-On on Python. Python has only few commands, that can only change ID's, apply some properties and work with Layouts.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicadapi.graphisoft.com/archicadPythonPackage/archicad.html" target="_blank"&gt;&lt;LINK_TEXT text="http://archicadapi.graphisoft.com/archi ... hicad.html"&gt;http://archicadapi.graphisoft.com/archicadPythonPackage/archicad.html&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Graphisoft is promising to add more commands with upcoming versions. Currently it's unknown, will Python commands duplicate C functions and commands.&lt;BR /&gt;
If you need to build proper Add-On - the only way is to write it on C.</description>
      <pubDate>Tue, 04 May 2021 15:49:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Problem-with-Python-API/m-p/264317#M834</guid>
      <dc:creator>Podolsky</dc:creator>
      <dc:date>2021-05-04T15:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Python API</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Problem-with-Python-API/m-p/264318#M835</link>
      <description>From version 24, Archicad has a new JSON Interface. It provides a way for external applications to automate ARCHICAD functions. It is a one-way communication from the external software to ARCHICAD.&lt;BR /&gt;
The communication happens via HTTP using JSON messages.&lt;BR /&gt;
&lt;BR /&gt;
GRAPHISOFT publishes an official Python binding for the ARCHICAD JSON Interface at the Python Package Index (PyPI). This package helps to establish the connection and hides the JSON communication layer.&lt;BR /&gt;
&lt;BR /&gt;
When you are running a python script, the script sends JSON messages to Archicad and Archicad returns JSON responses back to the script via HTTP.&lt;BR /&gt;
&lt;BR /&gt;
So the Python API is based on the JSON Interface. I recommend you to check the official documentation of the JSON Interface: &lt;A href="https://archicadapi.graphisoft.com/JSONInterfaceDocumentation" target="_blank"&gt;&lt;LINK_TEXT text="https://archicadapi.graphisoft.com/JSON ... umentation"&gt;https://archicadapi.graphisoft.com/JSONInterfaceDocumentation&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
The names of the Python API functions are completely the same as the JSON command names.</description>
      <pubDate>Wed, 19 May 2021 13:26:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Problem-with-Python-API/m-p/264318#M835</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2021-05-19T13:26:27Z</dc:date>
    </item>
  </channel>
</rss>

