<?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: Custom &amp;quot;Save As&amp;quot; dialog box in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240166#M3789</link>
    <description>&lt;BLOCKQUOTE&gt;Tibor wrote:&lt;BR /&gt;After the user selected your registered custom file format and clicked to Save, you can invoke any dialog before the saving process, there you can ask the user to select the saving options.&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Can you give an example as to how to invoke a dialog during saving? I'm unsure of how to do this, so any help would be gratefully received. Thanks for the suggestion.</description>
    <pubDate>Tue, 16 Jul 2019 14:54:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-16T14:54:16Z</dc:date>
    <item>
      <title>Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240162#M3785</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm looking to create an add-on that allows for easy file naming using a naming standard. I was wondering if it is possible to either inject a button or tickbox into the standard Archicad Save As interface to automatically name files? The data for the name would be pulled from within the project itself.&lt;BR /&gt;&lt;BR /&gt;If not, is it possible to create my own custom Save As dialog to allow for this feature?&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:28:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240162#M3785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-04T14:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240163#M3786</link>
      <description>What kind of files are you planning to target? The main project or files exported from it?&lt;BR /&gt;
&lt;BR /&gt;
And do you want to prevent the user from setting or modifying the name?</description>
      <pubDate>Sat, 13 Jul 2019 09:58:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240163#M3786</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-07-13T09:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240164#M3787</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;What kind of files are you planning to target? The main project or files exported from it?&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
I'm looking to save the PLN model file.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;And do you want to prevent the user from setting or modifying the name?&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
The user should get a suggestion based on a set of criteria, but an override should be available.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the response.&lt;BR /&gt;
&lt;BR /&gt;
EDIT: Just to confirm my own research, is it possible to implement my own elements into standard ArchiCAD interface boxes?</description>
      <pubDate>Mon, 15 Jul 2019 07:47:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240164#M3787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-15T07:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240165#M3788</link>
      <description>&lt;BLOCKQUOTE&gt;rCushing wrote:&lt;BR /&gt;
EDIT: Just to confirm my own research, is it possible to implement my own elements into standard ArchiCAD interface boxes?
&lt;/BLOCKQUOTE&gt;

You have possibility to add user interface components integrated into the standard ARCHICAD dialogs to handle your custom element and attribute data.&lt;BR /&gt;
You can append your additional panels into the
&lt;UL&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;element settings dialogs&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;attribute settings dialogs&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;info box&lt;/LI&gt;
&lt;/UL&gt;

You can append a new custom file format to the standard Save As dialog, but currently it's not possible to extend the Save As dialog with new controls.&lt;BR /&gt;
After the user selected your registered custom file format and clicked to Save, you can invoke any dialog before the saving process, there you can ask the user to select the saving options.&lt;BR /&gt;
&lt;BR /&gt;
Of course you can create your own custom Save As dialog also, with any additional buttons, tickboxes etc.&lt;BR /&gt;
For example if you implement a new menu item, you can open your own Save As dialog after the user selected your menu item.</description>
      <pubDate>Mon, 15 Jul 2019 13:36:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240165#M3788</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2019-07-15T13:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240166#M3789</link>
      <description>&lt;BLOCKQUOTE&gt;Tibor wrote:&lt;BR /&gt;After the user selected your registered custom file format and clicked to Save, you can invoke any dialog before the saving process, there you can ask the user to select the saving options.&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Can you give an example as to how to invoke a dialog during saving? I'm unsure of how to do this, so any help would be gratefully received. Thanks for the suggestion.</description>
      <pubDate>Tue, 16 Jul 2019 14:54:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240166#M3789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-16T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240167#M3790</link>
      <description>&lt;BLOCKQUOTE&gt;rCushing wrote:&lt;BR /&gt;Can you give an example as to how to invoke a dialog during saving? I'm unsure of how to do this, so any help would be gratefully received. Thanks for the suggestion.&lt;/BLOCKQUOTE&gt;
Take a look at DG::FileDialog, e.g.:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;	DG::FileDialog dialog(DG::FileDialog::Save);
	dialog.SetTitle(dialogTitle);
	dialog.Invoke();
&lt;/PRE&gt;
It has options for setting the starting location for the file navigator, setting the possible saved file types and extracting the location specified by the user.</description>
      <pubDate>Tue, 16 Jul 2019 17:39:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240167#M3790</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-07-16T17:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240168#M3791</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;rCushing wrote:&lt;BR /&gt;Can you give an example as to how to invoke a dialog during saving? I'm unsure of how to do this, so any help would be gratefully received. Thanks for the suggestion.&lt;/BLOCKQUOTE&gt;
Take a look at DG::FileDialog, e.g.:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;	DG::FileDialog dialog(DG::FileDialog::Save);
	dialog.SetTitle(dialogTitle);
	dialog.Invoke();
&lt;/PRE&gt;
It has options for setting the starting location for the file navigator, setting the possible saved file types and extracting the location specified by the user.
&lt;/BLOCKQUOTE&gt;

Thanks, Ralph!&lt;BR /&gt;
&lt;BR /&gt;
Though this won't allow him to save to any other format than his own.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Wed, 17 Jul 2019 06:37:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240168#M3791</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-07-17T06:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom "Save As" dialog box</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240169#M3792</link>
      <description>Thanks Ákos. I assumed that DG::FileDialog could be used to obtain the required location and the project saved to that location with ACAPI_Automate(APIDo_SaveID).</description>
      <pubDate>Wed, 17 Jul 2019 07:25:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-quot-Save-As-quot-dialog-box/m-p/240169#M3792</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-07-17T07:25:06Z</dc:date>
    </item>
  </channel>
</rss>

