<?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 Disabling UNDO for the BREAK command... in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408885#M25699</link>
    <description>Hi Guys!&lt;BR /&gt;
&lt;BR /&gt;
Please help me for I am really stuck this time &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
At some point in my program I have to break a PLINE into two parts, and I don't want the user to be able to undo that. so I'm calling the disableUndoRecording() of both AcDbDatabase and AcDbObject but still, the undo mechanism works by only erasing the second part of the splitted PLINE. For as you know, when you break an entity, the first part has the same handle whereas the second part seems to be a newly created entity. How can I prevent this break from being undone??? not to mention, I don't want to lose the undo mechanism completely. If there was a method or something which could erase the current undo information for a specified object, it'd be great.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance guys...&lt;BR /&gt;
&lt;BR /&gt;
Regards, Omid Manikhi</description>
    <pubDate>Wed, 17 Aug 2005 21:43:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-08-17T21:43:51Z</dc:date>
    <item>
      <title>Disabling UNDO for the BREAK command...</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408885#M25699</link>
      <description>Hi Guys!&lt;BR /&gt;
&lt;BR /&gt;
Please help me for I am really stuck this time &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
At some point in my program I have to break a PLINE into two parts, and I don't want the user to be able to undo that. so I'm calling the disableUndoRecording() of both AcDbDatabase and AcDbObject but still, the undo mechanism works by only erasing the second part of the splitted PLINE. For as you know, when you break an entity, the first part has the same handle whereas the second part seems to be a newly created entity. How can I prevent this break from being undone??? not to mention, I don't want to lose the undo mechanism completely. If there was a method or something which could erase the current undo information for a specified object, it'd be great.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance guys...&lt;BR /&gt;
&lt;BR /&gt;
Regards, Omid Manikhi</description>
      <pubDate>Wed, 17 Aug 2005 21:43:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408885#M25699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-17T21:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling UNDO for the BREAK command...</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408886#M25700</link>
      <description>You can't do that, without also disabling the ability&lt;BR /&gt;
to undo back further. &lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;OMIDONTOP&gt; wrote in message news:4931616@discussion.autodesk.com...&lt;BR /&gt;
Hi Guys!&lt;BR /&gt;
&lt;BR /&gt;
Please help me for I am really stuck this time &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
At some point in my program I have to break a PLINE into two parts, and I don't want the user to be able to undo that. so I'm calling the disableUndoRecording() of both AcDbDatabase and AcDbObject but still, the undo mechanism works by only erasing the second part of the splitted PLINE. For as you know, when you break an entity, the first part has the same handle whereas the second part seems to be a newly created entity. How can I prevent this break from being undone??? not to mention, I don't want to lose the undo mechanism completely. If there was a method or something which could erase the current undo information for a specified object, it'd be great.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance guys...&lt;BR /&gt;
&lt;BR /&gt;
Regards, Omid Manikhi&lt;/OMIDONTOP&gt;</description>
      <pubDate>Thu, 18 Aug 2005 12:50:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408886#M25700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-18T12:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling UNDO for the BREAK command...</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408887#M25701</link>
      <description>And, How can I do that...????</description>
      <pubDate>Fri, 19 Aug 2005 04:51:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408887#M25701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-19T04:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling UNDO for the BREAK command...</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408888#M25702</link>
      <description>How can you do what?&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;OMIDONTOP&gt; wrote in message news:4933040@discussion.autodesk.com...&lt;BR /&gt;
And, How can I do that...????&lt;/OMIDONTOP&gt;</description>
      <pubDate>Fri, 19 Aug 2005 18:11:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408888#M25702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-19T18:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling UNDO for the BREAK command...</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408889#M25703</link>
      <description>Never mind, I got around this problem by calling acdbHostApplicationServices()-&amp;gt;workingDatabase()-&amp;gt;disableUndoRecording(true);&lt;BR /&gt;
&lt;BR /&gt;
twice!!</description>
      <pubDate>Fri, 19 Aug 2005 20:24:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/disabling-undo-for-the-break-command/m-p/1408889#M25703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-19T20:24:14Z</dc:date>
    </item>
  </channel>
</rss>

