<?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 API Request: Comprehensive Save in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22653#M7842</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Does anybody have an API that will -- while in Teamwork -- save to the default PLC name, then perform a send/receive? Ideally, I would like it to do another save after the send/receive so I have a local version that contains all other user's changes.&lt;/DIV&gt;</description>
    <pubDate>Mon, 07 Aug 2023 10:16:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-07T10:16:10Z</dc:date>
    <item>
      <title>API Request: Comprehensive Save</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22653#M7842</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Does anybody have an API that will -- while in Teamwork -- save to the default PLC name, then perform a send/receive? Ideally, I would like it to do another save after the send/receive so I have a local version that contains all other user's changes.&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:16:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22653#M7842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-07T10:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: API Request: Comprehensive Save</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22654#M7843</link>
      <description>&lt;BLOCKQUOTE&gt;Jay wrote:&lt;BR /&gt;Does anybody have an API that will -- while in Teamwork -- save to the default PLC name, then perform a send/receive?&lt;/BLOCKQUOTE&gt;

As far as I can tell from scanning the API documentation, it does not seem possible for an add-on to perform a send/receive.  An add-on can be notified that a send/receive is happening and take some action at that time, but I don't think the automation that you are asking for is possible.&lt;BR /&gt;
&lt;BR /&gt;
I defer to our more experienced API guys though for the definitive answer...&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 22 Sep 2004 00:09:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22654#M7843</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2004-09-22T00:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: API Request: Comprehensive Save</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22655#M7844</link>
      <description>You can use the ACAPI_Automate set of functions (look for &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIDo_SaveID&lt;E&gt;&lt;/E&gt;) to achieve that functionality. To tell the truth, I've never tried that in the situation you describe, but theoretically it should work &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 22 Sep 2004 08:41:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22655#M7844</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2004-09-22T08:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: API Request: Comprehensive Save</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22656#M7845</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;You can use the ACAPI_Automate set of functions (look for &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIDo_SaveID&lt;E&gt;&lt;/E&gt;) to achieve that functionality. To tell the truth, I've never tried that in the situation you describe, but theoretically it should work &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;/BLOCKQUOTE&gt;

Thanks, Akos.  I had read through the various options there and did not see a way of saying that you want a send/receive to take place...?&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 22 Sep 2004 18:29:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22656#M7845</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2004-09-22T18:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: API Request: Comprehensive Save</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22657#M7846</link>
      <description>&lt;BLOCKQUOTE&gt;Karl wrote:&lt;BR /&gt;Thanks, Akos.  I had read through the various options there and did not see a way of saying that you want a send/receive to take place...?&lt;BR /&gt;
&lt;BR /&gt;
Karl&lt;/BLOCKQUOTE&gt;

The way to go here is project event notifications. Take a look at for example APINotify_SendChanges -- this is sent *before* the actual 'send' is performed.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Thu, 30 Sep 2004 06:45:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22657#M7846</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2004-09-30T06:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: API Request: Comprehensive Save</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22658#M7847</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;The way to go here is project event notifications. Take a look at for example APINotify_SendChanges -- this is sent *before* the actual 'send' is performed.&lt;/BLOCKQUOTE&gt;

Thanks for being patient with me as always, Akos! &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;  I'm still not "getting it".&lt;BR /&gt;
&lt;BR /&gt;
AFAIK, the notification is merely a way of having the add-on respond (via a callback function) to when the AC user has performed a send, receive, signout, etc.&lt;BR /&gt;
&lt;BR /&gt;
Jay's original request was to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;automate &lt;E&gt;&lt;/E&gt;the actual send/receive ... to have the add-on &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;initiate &lt;E&gt;&lt;/E&gt;a send/receive action (not react to the user initiating one). Am I still confused, or is this not possible?&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Karl</description>
      <pubDate>Thu, 30 Sep 2004 18:28:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22658#M7847</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2004-09-30T18:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: API Request: Comprehensive Save</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22659#M7848</link>
      <description>&lt;BLOCKQUOTE&gt;Karl wrote:&lt;BR /&gt;Jay's original request was to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;automate &lt;E&gt;&lt;/E&gt;the actual send/receive ... to have the add-on &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;initiate &lt;E&gt;&lt;/E&gt;a send/receive action (not react to the user initiating one). Am I still confused, or is this not possible?&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Karl&lt;/BLOCKQUOTE&gt;

Yes, now I see that seemed to be the original intent. But there is no way to achieve that with the current interface, so he'll have to live with the notifications. It's the poor API developer's world, you know &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Sun, 03 Oct 2004 05:31:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Request-Comprehensive-Save/m-p/22659#M7848</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2004-10-03T05:31:42Z</dc:date>
    </item>
  </channel>
</rss>

