<?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: Issue with getting the opened project's name in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Issue-with-getting-the-opened-project-s-name/m-p/279046#M4047</link>
    <description>I have tried printing the untitled property:&lt;BR /&gt;

&lt;PRE&gt;WriteReport("project untitled is %s",(info.untitled)?"true":"false"); // returns false always &lt;/PRE&gt;

Why it says that the file is not saved? I'm opening an already saved project.</description>
    <pubDate>Wed, 28 Mar 2018 08:57:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-28T08:57:44Z</dc:date>
    <item>
      <title>Issue with getting the opened project's name</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Issue-with-getting-the-opened-project-s-name/m-p/279045#M4046</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm trying to get the current opened project's name. Here is my code, which should work according to the documentation, but it doesn't seem to work:&lt;BR /&gt;
&lt;PRE&gt;GSErrCode            err;
    API_ProjectInfo info;
    
    err = ACAPI_Environment (APIEnv_ProjectID, &amp;amp;info, nullptr);
    if (err != NoError){
        ErrorBeep ("APIEnv_ProjectID", err);
    }
    else{
        WriteReport("project path is %s", info.projectPath); // &lt;STRONG&gt;returns null always&lt;/STRONG&gt;
        WriteReport("project name is %s", info.projectName); // &lt;STRONG&gt;returns null always&lt;/STRONG&gt;
    }&lt;/PRE&gt;
Is there any other specific thing that should be done in order to make this work? Is the project name something different than the filename of the pln?&lt;BR /&gt;&lt;BR /&gt;P.S. I am opening an already saved project.&lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated,&lt;BR /&gt;Julian&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 12:43:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Issue-with-getting-the-opened-project-s-name/m-p/279045#M4046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T12:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with getting the opened project's name</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Issue-with-getting-the-opened-project-s-name/m-p/279046#M4047</link>
      <description>I have tried printing the untitled property:&lt;BR /&gt;

&lt;PRE&gt;WriteReport("project untitled is %s",(info.untitled)?"true":"false"); // returns false always &lt;/PRE&gt;

Why it says that the file is not saved? I'm opening an already saved project.</description>
      <pubDate>Wed, 28 Mar 2018 08:57:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Issue-with-getting-the-opened-project-s-name/m-p/279046#M4047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-28T08:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with getting the opened project's name</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Issue-with-getting-the-opened-project-s-name/m-p/279047#M4048</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately this is a bug. We will try to do the best to fix it as soon as possible.&lt;BR /&gt;
&lt;BR /&gt;
Best,&lt;BR /&gt;
Mihály</description>
      <pubDate>Fri, 06 Apr 2018 11:19:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Issue-with-getting-the-opened-project-s-name/m-p/279047#M4048</guid>
      <dc:creator>Mihaly Palenik</dc:creator>
      <dc:date>2018-04-06T11:19:00Z</dc:date>
    </item>
  </channel>
</rss>

