<?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 call an add-on from a python script in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/call-an-add-on-from-a-python-script/m-p/376154#M360</link>
    <description>&lt;P&gt;Does anyone have an example python script that calls / runs an add-on?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2023 17:10:09 GMT</pubDate>
    <dc:creator>billatarcat</dc:creator>
    <dc:date>2023-04-10T17:10:09Z</dc:date>
    <item>
      <title>call an add-on from a python script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/call-an-add-on-from-a-python-script/m-p/376154#M360</link>
      <description>&lt;P&gt;Does anyone have an example python script that calls / runs an add-on?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 17:10:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/call-an-add-on-from-a-python-script/m-p/376154#M360</guid>
      <dc:creator>billatarcat</dc:creator>
      <dc:date>2023-04-10T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: call an add-on from a python script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/call-an-add-on-from-a-python-script/m-p/376158#M361</link>
      <description>&lt;P&gt;The Python API has no ability to call and run a C++ AddOn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Python script cam only communicate with a AddOn through a builtin function called -- ExecuteAddOnCommand - by passing certain parameters. However the AddOn must have pre-programmed and registered a class&amp;nbsp; to received the request. That class inherits from the AddOnCommand class.&lt;/P&gt;
&lt;P&gt;An example of the Python function can be found on the Archicad PyPi site.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/JSONInterfaceDocumentation/#Introduction" target="_self"&gt;Archicad PyPi&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A typical example of the required C++ API class could be found on Tibor's old example site on GitHub.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/tlorantfy" target="_self"&gt;GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 17:50:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/call-an-add-on-from-a-python-script/m-p/376158#M361</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-04-10T17:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: call an add-on from a python script</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/call-an-add-on-from-a-python-script/m-p/376161#M362</link>
      <description>&lt;P&gt;Hi Gerry,&amp;nbsp; TY for the speedy response!&amp;nbsp; I will check out the links you provide.&amp;nbsp; Very helpful!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 18:30:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/call-an-add-on-from-a-python-script/m-p/376161#M362</guid>
      <dc:creator>billatarcat</dc:creator>
      <dc:date>2023-04-10T18:30:01Z</dc:date>
    </item>
  </channel>
</rss>

