<?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 AddOn for ARCHICAD 23 - using Python_embedded (like in ARCHICAD 22) than Full-Installation? in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229434#M595</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Dear friends of scripting,&lt;BR /&gt;&lt;BR /&gt;is it possible to run the Python AddOn for ARCHICAD 23 by just adding python37.zip and python37.dll to the ARCHICAD-programm folder? Similar to the handling in ARCHICAD 22.&lt;BR /&gt;&lt;BR /&gt;hope for answers soon,&lt;BR /&gt;&lt;BR /&gt;yours,&lt;BR /&gt;Klaus from vienna&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Sep 2021 10:37:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-15T10:37:07Z</dc:date>
    <item>
      <title>Python AddOn for ARCHICAD 23 - using Python_embedded (like in ARCHICAD 22) than Full-Installation?</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229434#M595</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Dear friends of scripting,&lt;BR /&gt;&lt;BR /&gt;is it possible to run the Python AddOn for ARCHICAD 23 by just adding python37.zip and python37.dll to the ARCHICAD-programm folder? Similar to the handling in ARCHICAD 22.&lt;BR /&gt;&lt;BR /&gt;hope for answers soon,&lt;BR /&gt;&lt;BR /&gt;yours,&lt;BR /&gt;Klaus from vienna&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 10:37:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229434#M595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T10:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python AddOn for ARCHICAD 23 - using Python_embedded (like in ARCHICAD 22) than Full-Installation?</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229435#M596</link>
      <description>From the Graphisoft Instructions:&lt;BR /&gt;
The Python installation  is installed per the normal installation Must be 3.7.? -- not within Graphisoft's directories. The addon is pythonsnippits.apx and added to the addon folder. Remember to set the Path variable to the Python folder. See Below.&lt;BR /&gt;
&lt;BR /&gt;
Python API&lt;BR /&gt;
&lt;BR /&gt;
Python API is an Add-On, which can be run inside ARCHICAD. It implements a python wrapper for the existing C/C++ API.&lt;BR /&gt;
Please note the current state is experimental, this may change in the future. The final choice depends on the real user requirements.&lt;BR /&gt;
This Add-On provides a palette to run external python scripts and implements an interactive Python console with built-in functions to operate ARCHICAD. The Python Palette can be opened from the Window/Palettes menu.&lt;BR /&gt;
&lt;BR /&gt;
Each type and function displayed in this documentation is part of the GS module, but the Interpreter automatically imports everything from this module upon startup.&lt;BR /&gt;
Installation&lt;BR /&gt;
Step-by-step guide to install Python API Add-On&lt;BR /&gt;
&lt;BR /&gt;
    Python 3.7 must be installed to your machine. ARCHICAD searches for python at your computer. On macOS it searchs at the following fixed path: /Library/Frameworks/Python.framework/Versions. On Windows platform it uses PATH environment variable, so please add the path to the installed python to your PATH environment variable.&lt;BR /&gt;
    You can download Python installer for free from the official site of Python:&lt;BR /&gt;
    Download Python 3.7 installer for macOS: &lt;A href="https://www.python.org/ftp/python/3.7.3/python-3.7.3-macosx10.9.pkg" target="_blank"&gt;&lt;LINK_TEXT text="https://www.python.org/ftp/python/3.7.3 ... sx10.9.pkg"&gt;https://www.python.org/ftp/python/3.7.3/python-3.7.3-macosx10.9.pkg&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
    Download Python 3.7 installer for Windows: &lt;A href="https://www.python.org/ftp/python/3.7.3/python-3.7.3-amd64.exe" target="_blank"&gt;&lt;LINK_TEXT text="https://www.python.org/ftp/python/3.7.3 ... -amd64.exe"&gt;https://www.python.org/ftp/python/3.7.3/python-3.7.3-amd64.exe&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
    Place the PythonSnippets Add-On into the Add-Ons folder next to the ARCHICAD application. This way ARCHICAD will automatically load it upon startup.&lt;BR /&gt;
&lt;BR /&gt;
Setup Example Scripts&lt;BR /&gt;
&lt;BR /&gt;
The example scripts can be found inside the PythonSnippets folder.&lt;BR /&gt;
Copy this folder to your user's Documents folder to make all of those example scripts visible inside ARCHICAD in the Script List.&lt;BR /&gt;
How To Use&lt;BR /&gt;
&lt;BR /&gt;
The palette that contains both the Interactive Console and the Script List can be opened through Palettes menu.&lt;BR /&gt;
The Script List shows the external python scripts (files with .py extension) from the folder named PythonSnippets inside the actual users Documents folder. Of course scripts can be used from any other directory using the Browse button.&lt;BR /&gt;
&lt;BR /&gt;
By double clicking on a script in the Script List or clicking "Run Selected" button the selected external python script will be executed.&lt;BR /&gt;
Type single python command into the Interactive Console and press Enter button to execute it.&lt;BR /&gt;
Errors and the output will be printed to the Interactive Console.&lt;BR /&gt;
&lt;BR /&gt;
Note, the sys.argv is always filled by the interpreter:&lt;BR /&gt;
&lt;BR /&gt;
    The value of sys.argv[0] is the location of the executed script file.&lt;BR /&gt;
    The value of sys.argv[1] is the location of the PythonSnippets Add-On.&lt;BR /&gt;

  &lt;PRE&gt;  import os
    import sys
    scriptDir = os.path.dirname (sys.argv[0])
    addOnDir = os.path.dirname (sys.argv[1])&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Mar 2020 22:57:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229435#M596</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2020-03-19T22:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Python AddOn for ARCHICAD 23 - using Python_embedded (like in ARCHICAD 22) than Full-Installation?</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229436#M597</link>
      <description>Thank you Gerry, but I have known this Info by GS already - but I wonder if it is really the only way to work in ARCHICAD with python...&lt;BR /&gt;
&lt;BR /&gt;
And it seems my thouhts were right - in my tests I DO NOT have to install the full Python Software (as explained in the GS text) - I only put the python37.zip and the python37.dll from the "embedded-version" in the ARCHICADprogramfolder and it seems to work.&lt;BR /&gt;
&lt;BR /&gt;
So I ask again, do anybody know a reason why it is nessersarry to install python and not only use the embedded python 3.7.3 ?&lt;BR /&gt;
&lt;BR /&gt;
best regards from vienna,&lt;BR /&gt;
Klaus</description>
      <pubDate>Fri, 20 Mar 2020 10:44:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229436#M597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-20T10:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Python AddOn for ARCHICAD 23 - using Python_embedded (like in ARCHICAD 22) than Full-Installation?</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229437#M598</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;  noone here who knows anything about this topic?   ... or wants to test my suggestion - I think it is working correct at my computer but who knows...&lt;BR /&gt;
&lt;BR /&gt;
hope for getting support,&lt;BR /&gt;
&lt;BR /&gt;
Yours,&lt;BR /&gt;
Klaus</description>
      <pubDate>Wed, 01 Apr 2020 14:26:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-AddOn-for-ARCHICAD-23-using-Python-embedded-like-in/m-p/229437#M598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-01T14:26:00Z</dc:date>
    </item>
  </channel>
</rss>

