<?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: Detect physical file verses file in a library in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Detect-physical-file-verses-file-in-a-library/m-p/263593#M5565</link>
    <description>Hi Paul,&lt;BR /&gt;
&lt;BR /&gt;
IO::fileSystem.Contains should be used for checking if file exists.
&lt;PRE&gt;#include "FileSystem.hpp"


	IO::Location fileLoc (&amp;lt;path&amp;gt;);

	bool		exists = false;
	GSErrCode	err = IO::fileSystem.Contains (fileLoc, &amp;amp;exists);
	if (err != NoError)
		ErrorBeep ("Error in IO::fileSystem.Contains", err);&lt;/PRE&gt;
Regards,&lt;BR /&gt;
Tibor</description>
    <pubDate>Fri, 24 Apr 2015 13:19:47 GMT</pubDate>
    <dc:creator>Tibor Lorantfy</dc:creator>
    <dc:date>2015-04-24T13:19:47Z</dc:date>
    <item>
      <title>Detect physical file verses file in a library</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Detect-physical-file-verses-file-in-a-library/m-p/263592#M5564</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi, I am using file.Open (IO::File::ReadMode) to determine if a texture file exists on disk. However it appears to return NoError when a file which is embedded inside a .pla is specified. Is there some way to determine if the file is an actual file, or inside a .pla pls?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Paul&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Jul 2023 14:28:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Detect-physical-file-verses-file-in-a-library/m-p/263592#M5564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-13T14:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Detect physical file verses file in a library</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Detect-physical-file-verses-file-in-a-library/m-p/263593#M5565</link>
      <description>Hi Paul,&lt;BR /&gt;
&lt;BR /&gt;
IO::fileSystem.Contains should be used for checking if file exists.
&lt;PRE&gt;#include "FileSystem.hpp"


	IO::Location fileLoc (&amp;lt;path&amp;gt;);

	bool		exists = false;
	GSErrCode	err = IO::fileSystem.Contains (fileLoc, &amp;amp;exists);
	if (err != NoError)
		ErrorBeep ("Error in IO::fileSystem.Contains", err);&lt;/PRE&gt;
Regards,&lt;BR /&gt;
Tibor</description>
      <pubDate>Fri, 24 Apr 2015 13:19:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Detect-physical-file-verses-file-in-a-library/m-p/263593#M5565</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2015-04-24T13:19:47Z</dc:date>
    </item>
  </channel>
</rss>

