<?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: Getting and analysing file names in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-and-analysing-file-names/m-p/247122#M3034</link>
    <description>You could use &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;IO::TreeEnumerator&lt;E&gt;&lt;/E&gt; to get all the files in a specified directory (and optionally subdirectories). There's an example if this in use in the DG_Test project with the dev-kit (see the class &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;FolderEnumerator&lt;E&gt;&lt;/E&gt;).</description>
    <pubDate>Fri, 09 Aug 2019 11:14:05 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2019-08-09T11:14:05Z</dc:date>
    <item>
      <title>Getting and analysing file names</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-and-analysing-file-names/m-p/247120#M3032</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Is it possible to get file names from within a user-chosen folder and analyse them? I want to be able to automatically create a new file name based on what files already exist within the folder I'm saving to. At a very basic level this would be to increase a number on the end of the file name based on whether there are already files of the same name in the folder.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2022 08:19:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-and-analysing-file-names/m-p/247120#M3032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-29T08:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting and analysing file names</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-and-analysing-file-names/m-p/247121#M3033</link>
      <description>&lt;BLOCKQUOTE&gt;rCushing wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to get file names from within a user-chosen folder and analyse them?&lt;BR /&gt;
Thanks
&lt;/BLOCKQUOTE&gt;

Sure, you can get paths/names of all files and folder at the provided location with IO library (Input Output). You can also use std library for it.&lt;BR /&gt;
When you have it rest is string manipulation and passing modified name to save function.</description>
      <pubDate>Fri, 09 Aug 2019 09:47:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-and-analysing-file-names/m-p/247121#M3033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-09T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting and analysing file names</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-and-analysing-file-names/m-p/247122#M3034</link>
      <description>You could use &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;IO::TreeEnumerator&lt;E&gt;&lt;/E&gt; to get all the files in a specified directory (and optionally subdirectories). There's an example if this in use in the DG_Test project with the dev-kit (see the class &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;FolderEnumerator&lt;E&gt;&lt;/E&gt;).</description>
      <pubDate>Fri, 09 Aug 2019 11:14:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-and-analysing-file-names/m-p/247122#M3034</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-08-09T11:14:05Z</dc:date>
    </item>
  </channel>
</rss>

