<?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: ACAPI_CallUndoableCommand() gets cancelled in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/330334#M1957</link>
    <description>&lt;P&gt;I did not check the return of the undoable block. And upon checking, there was indeed an exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already fixed it. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 05:18:05 GMT</pubDate>
    <dc:creator>ReignBough</dc:creator>
    <dc:date>2022-02-18T05:18:05Z</dc:date>
    <item>
      <title>ACAPI_CallUndoableCommand() gets cancelled</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/328214#M1954</link>
      <description>&lt;P&gt;I created a code that is inside undoable block. This code generates texts, lines, and hatch (fill) on a worksheet. I can see that those items were generated. (I use APIDo_ZoomID so that the items will be visible every time.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After generating all the items, they were removed immediately as if Undo button was clicked. But checking on the Undo/Redo button list, no evidence that the action was done.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 07:41:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/328214#M1954</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2024-09-20T07:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_CallUndoableCommand() gets cancelled</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/328439#M1955</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's definitely strange what's happening there. Maybe the command actually aborts due to some reason (out of memory or something like that) and thus AC cleans up by reverting everything.&lt;BR /&gt;&lt;BR /&gt;Was your command done or do you expect more output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And is the error code of the ACAPI_CallUndoableCommand ok?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 08:58:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/328439#M1955</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2022-01-28T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_CallUndoableCommand() gets cancelled</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/328821#M1956</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That usually happens when one of the commands inside results in an exception. This may come from incorrect data passed into Archicad.&lt;/P&gt;
&lt;P&gt;Another reason could be that you call this function within a non-standard scope, for example in a notification handler, where a differently scoped undo is needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please tell us more details?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, Ákos&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 10:28:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/328821#M1956</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2022-02-02T10:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_CallUndoableCommand() gets cancelled</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/330334#M1957</link>
      <description>&lt;P&gt;I did not check the return of the undoable block. And upon checking, there was indeed an exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already fixed it. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 05:18:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-CallUndoableCommand-gets-cancelled/m-p/330334#M1957</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2022-02-18T05:18:05Z</dc:date>
    </item>
  </channel>
</rss>

