<?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 New using a template file. in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150954#M6721</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;How do I create a new project with my own given template file (*.tpl) using the dev toolkit?&lt;/DIV&gt;</description>
    <pubDate>Thu, 03 Aug 2023 15:06:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-03T15:06:31Z</dc:date>
    <item>
      <title>New using a template file.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150954#M6721</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;How do I create a new project with my own given template file (*.tpl) using the dev toolkit?&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:06:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150954#M6721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: New using a template file.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150955#M6722</link>
      <description>&lt;BLOCKQUOTE&gt;graffiti wrote:&lt;BR /&gt;How do I create a new project with my own given template file (*.tpl) using the dev toolkit?&lt;/BLOCKQUOTE&gt;
You can direct ArchiCAD to open a specified file with &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Automate&lt;E&gt;&lt;/E&gt; and &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt; APIDo_OpenID&lt;E&gt;&lt;/E&gt;. Presumably just opening the template file would accomplish your aims?</description>
      <pubDate>Wed, 24 Jun 2009 20:49:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150955#M6722</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-06-24T20:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: New using a template file.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150956#M6723</link>
      <description>Yes, I wasn't sure that was the correct way.&lt;BR /&gt;
&lt;BR /&gt;
I need to reset the libraries first, so I call ACAPI_Automate with APIDo_NewProjectID and then call ACAPI_Automate again with APIDo_OpenID.&lt;BR /&gt;
&lt;BR /&gt;
I was hoping there was a way to do it faster in one call, but I guess not.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Thu, 25 Jun 2009 10:28:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150956#M6723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-25T10:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: New using a template file.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150957#M6724</link>
      <description>&lt;BLOCKQUOTE&gt;graffiti wrote:&lt;BR /&gt;I need to reset the libraries first, so I call ACAPI_Automate with APIDo_NewProjectID and then call ACAPI_Automate again with APIDo_OpenID.&lt;/BLOCKQUOTE&gt;
I don't think it is necessary to reset the libraries before opening the template. When the template is opened, ArchiCAD should automatically load whatever libraries are linked to it anyway. Try it and let me know if this is correct.</description>
      <pubDate>Fri, 26 Jun 2009 08:28:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150957#M6724</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-06-26T08:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: New using a template file.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150958#M6725</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Sorry for my late reply.&lt;BR /&gt;
I'm sure your solution will work, &lt;BR /&gt;
but I actually need to reset the libraries because I shouldn't use the ones linked to the template file. &lt;BR /&gt;
I should have been more clear about it.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Mon, 29 Jun 2009 10:36:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/New-using-a-template-file/m-p/150958#M6725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-29T10:36:33Z</dc:date>
    </item>
  </channel>
</rss>

