<?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: Create New Project using ACAPI_ProjectOperation_NewProject in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Create-New-Project-using-ACAPI-ProjectOperation-NewProject/m-p/591219#M9240</link>
    <description>&lt;P&gt;Yes,&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12765"&gt;@Viktor Kovacs&lt;/a&gt;&amp;nbsp;tried on the licensed version of Archicad. Missed out on mentioning the same.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 06:49:52 GMT</pubDate>
    <dc:creator>kency</dc:creator>
    <dc:date>2024-03-06T06:49:52Z</dc:date>
    <item>
      <title>Create New Project using ACAPI_ProjectOperation_NewProject</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Create-New-Project-using-ACAPI-ProjectOperation-NewProject/m-p/590906#M9233</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was trying to create a new project when the add-on gets triggered and I saw the function&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;ACAPI_ProjectOperation_NewProject&amp;nbsp;&lt;/STRONG&gt;which opens a new project. But I would like to also save the existing project before opening a new project. I tried the below code:&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GSErrCode CreateNewProject() {
    API_NewProjectPars    npp = {};
    npp.newAndReset = true;
    npp.enableSaveAlert = true;
    GSErrCode err = ACAPI_ProjectOperation_NewProject (&amp;amp;npp);
    return err;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In spite of having the &lt;STRONG&gt;enableSaveAlert&lt;/STRONG&gt; to true, it did not give me any alert. Also, I had tried the&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;ACAPI_ProjectOperation_Save()&lt;/STRONG&gt; function as well. But this also did not Save anything.&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;Is my expectation right for these functions/params? Or is there any other way through which we can do a Save of the existing project and post that open a new project?&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;:&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;Tried on MacOS(Intel)&lt;/P&gt;
&lt;P class=""&gt;Archicad 27 and on 25 with the ACAPI_Automate()&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 09:24:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Create-New-Project-using-ACAPI-ProjectOperation-NewProject/m-p/590906#M9233</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-09-17T09:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Project using ACAPI_ProjectOperation_NewProject</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Create-New-Project-using-ACAPI-ProjectOperation-NewProject/m-p/591174#M9238</link>
      <description>&lt;P&gt;Please make sure you are not using the DEMO version of Archicad. The DEMO version can't save files.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 18:11:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Create-New-Project-using-ACAPI-ProjectOperation-NewProject/m-p/591174#M9238</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2024-03-05T18:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Project using ACAPI_ProjectOperation_NewProject</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Create-New-Project-using-ACAPI-ProjectOperation-NewProject/m-p/591219#M9240</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12765"&gt;@Viktor Kovacs&lt;/a&gt;&amp;nbsp;tried on the licensed version of Archicad. Missed out on mentioning the same.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 06:49:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Create-New-Project-using-ACAPI-ProjectOperation-NewProject/m-p/591219#M9240</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-03-06T06:49:52Z</dc:date>
    </item>
  </channel>
</rss>

