<?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: More Copying Issues - prevent copying to another document? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6908131#M8707</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try implementing AcRxEventReactor::beginWblockObjects , which gives an access to preset mapper, you can skip the objects from IdMapper to prevent from cloning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this blog I discussed about mapping relation during CopyPaste:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2016/05/mapping-relation-between-source-and-destination-objects-during-copypaste.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2016/05/mapping-relation-between-source-and-destination-objects-during-copypaste.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 06:18:42 GMT</pubDate>
    <dc:creator>moogalm</dc:creator>
    <dc:date>2017-02-28T06:18:42Z</dc:date>
    <item>
      <title>More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6894048#M8703</link>
      <description>&lt;P&gt;I like being able to Ctrl+C / Ctrl+V my custom objects within a document, but pasting them into a different document has some underlying data merging problems I don't have time to solve just yet. So, is there a way to prevent my objects from being copied to another document without disabling Ctrl+C / Ctrl+V?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a similar vein, can I keep my objects out of a WBLOCK command?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect I'll have to disable wblock cloning and kill off copy/paste - but is there another way?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 22:42:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6894048#M8703</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2017-02-21T22:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6894389#M8704</link>
      <description>&lt;P&gt;Ok - so I had a go at disabling wblockclone for my objects. However, despite what the docs say, &lt;STRONG&gt;subWblockClone&lt;/STRONG&gt; never gets called. All copy functions go through deep clone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can crudely veto in &lt;STRONG&gt;documentLockModeChanged&lt;/STRONG&gt;, but when is &lt;STRONG&gt;subWblockClone&lt;/STRONG&gt; supposed to come into effect?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 03:15:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6894389#M8704</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2017-02-22T03:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6894424#M8705</link>
      <description>&lt;P&gt;Further - I can veto WBLOCK&amp;nbsp;in &lt;STRONG&gt;PICKFIRST&lt;/STRONG&gt; mode, and I can detect selection of my objects in &lt;STRONG&gt;endSSGet &lt;/STRONG&gt;in not PICKFIRST mode. But after selecting from the WBLOCK dialog, Autocad returns to the WBLOCK dialog. How do I cancel the command? And what about WBLOCK of the whole drawing? How do I stop that?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 03:44:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6894424#M8705</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2017-02-22T03:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6896808#M8706</link>
      <description>&lt;P&gt;I've tried various ways in&amp;nbsp;&lt;STRONG&gt;AcEditorReactor::beginWblock&lt;/STRONG&gt; to try and cancel out of the command but it seems impossible to stop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I'm left hoping there is a simpler way to stop my objects taking part in WBLOCK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should I just do nothing in the &amp;nbsp;wblock filer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:59:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6896808#M8706</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2017-02-22T20:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6908131#M8707</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try implementing AcRxEventReactor::beginWblockObjects , which gives an access to preset mapper, you can skip the objects from IdMapper to prevent from cloning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this blog I discussed about mapping relation during CopyPaste:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2016/05/mapping-relation-between-source-and-destination-objects-during-copypaste.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2016/05/mapping-relation-between-source-and-destination-objects-during-copypaste.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 06:18:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6908131#M8707</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2017-02-28T06:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6908163#M8708</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1937895"&gt;@moogalm&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I'd like to remember about case &lt;SPAN&gt;&lt;SPAN class=""&gt;11923088 related to Copy/Paste mapping algorithm. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 06:48:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6908163#M8708</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-02-28T06:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6910841#M8709</link>
      <description>&lt;P&gt;Thanks for the reply. Until I have time to look deeper into this, I simply set some flags when COPYCLIP starts that allows me to veto PASTECLIP to a different document. Of course that won't help pasting between instances of ACAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would you recommend in that situation? Is it possible to have Ctrl+C / Ctrl+V within a document, but disallow pasting in another instance? This is why I was trying to manipulate the clipboard (see my other posts). Ideally I'd like to know the source of the data on the clipboard at pasting time...&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 00:03:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6910841#M8709</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2017-03-01T00:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6910879#M8710</link>
      <description>&lt;P&gt;The blog link seems to be dead too...but i can see the Google cached version&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 00:24:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6910879#M8710</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2017-03-01T00:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: More Copying Issues - prevent copying to another document?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6911324#M8711</link>
      <description>&lt;P&gt;Hi sorry about that,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/481027"&gt;@Alexander.Rivilis&lt;/a&gt;&amp;nbsp;found a issue&amp;nbsp;with the code, until further investigation I have made blog to private mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway you can have a look the code structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE style="color: #d1d1d1; background: #000000;"&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;using&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;namespace&lt;/SPAN&gt; &lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;static&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;void&lt;/SPAN&gt; closeOrDeleteDbObj&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;AcDbObject &lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;pObj&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pObj&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;objectId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;isNull&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;delete&lt;/SPAN&gt; pObj&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;else&lt;/SPAN&gt; pObj&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;close&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;

&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;template&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;class&lt;/SPAN&gt; T&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;struct&lt;/SPAN&gt; unique_db_ptr &lt;SPAN style="color: #b060b0;"&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;public&lt;/SPAN&gt; unique_ptr&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;T&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;AcDbObject&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt; unique_db_ptr&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;T&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;T&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt; t&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;unique_ptr&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;T&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;AcDbObject&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;t&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; closeOrDeleteDbObj&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;


&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;static&lt;/SPAN&gt; AcDbObjectId addToDb&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;AcDbEntity &lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; AcDbDatabase &lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;pDb &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;nullptr&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
    AcDbObjectId newEntId&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

    &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;nullptr&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
        &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; newEntId&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
    &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;nullptr&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; pDb&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
        pDb &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; acdbHostApplicationServices&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;workingDatabase&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
    &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;nullptr&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; pDb&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
        &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; newEntId&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

    unique_db_ptr&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;AcDbEntity&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; ent&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
    AcDbBlockTable &lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;pBt&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
    &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;eOk &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; pDb&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;getBlockTable&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pBt&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; kForRead&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
        &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; newEntId&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
    
    unique_db_ptr&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;AcDbBlockTable&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; bt&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pBt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
    AcDbBlockTableRecord &lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;pMs&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
    &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;eOk &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; pBt&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;getAt&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;ACDB_MODEL_SPACE&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; pMs&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; kForWrite&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
        unique_db_ptr&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;AcDbBlockTableRecord&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pMs&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;appendAcDbEntity&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;newEntId&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

    &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; newEntId&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;

&lt;SPAN style="color: #9999a9;"&gt;/*Globals*/&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;typedef&lt;/SPAN&gt; std&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;tuple&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; _CopyTuples&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;typedef&lt;/SPAN&gt; std&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;tuple&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; _PasteTuples&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;vector&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;_CopyTuples&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; vCopy&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;vector&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;_PasteTuples&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; vPaste&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

&lt;SPAN style="color: #9999a9;"&gt;/*Utils*/&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; getObjectIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;const&lt;/SPAN&gt; AcDbObjectId&lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt; id&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; str &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	ads_name ent&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	acdbGetAdsName&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;ent&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; id&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	str&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;Format&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%lx&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; ent&lt;SPAN style="color: #d2cd86;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #008c00;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; str&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; objToHandleStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;const&lt;/SPAN&gt; AcDbObject&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; obj&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	ASSERT&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;obj &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #007d45;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	AcDbHandle handle&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	obj&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;getAcDbHandle&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;handle&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;TCHAR&lt;/SPAN&gt; tmpStr&lt;SPAN style="color: #d2cd86;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #008c00;"&gt;256&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	handle&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;getIntoAsciiBuffer&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;tmpStr&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; str &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; tmpStr&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; str&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;const&lt;/SPAN&gt; Adesk&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;IntDbId intVal&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; str &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #008073;"&gt;#&lt;/SPAN&gt;&lt;SPAN style="color: #008073;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #008073;"&gt;defined&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008073;"&gt;_WIN64&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #008073;"&gt;defined&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008073;"&gt;_AC64&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
	str&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;Format&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%d&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; intVal&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #008073;"&gt;#&lt;/SPAN&gt;&lt;SPAN style="color: #008073;"&gt;else&lt;/SPAN&gt;
	str&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;Format&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%I64d&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; intVal&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #008073;"&gt;#&lt;/SPAN&gt;&lt;SPAN style="color: #008073;"&gt;endif&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; str&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; booleanToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;bool&lt;/SPAN&gt; b&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; str &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;b&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
		str &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;True&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;else&lt;/SPAN&gt;
		str &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;False&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; str&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; objToClassStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;const&lt;/SPAN&gt; AcRxObject&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; obj&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	ASSERT&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;obj &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #007d45;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

	AcRxClass&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; rxClass &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; obj&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;isA&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;rxClass &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #007d45;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
		ASSERT&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008c00;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		acedAlert&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;AcRxObject class has not called rxInit()!&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;*Unknown*&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;

	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; obj&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;isA&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;name&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;


&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;void&lt;/SPAN&gt; tupes&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;typedef&lt;/SPAN&gt; std&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;pair&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; _MapPairs&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;vector&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;_MapPairs&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; pairs&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #9999a9;"&gt;/*Get Mapping Relation*/&lt;/SPAN&gt;
	acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;*******Mapping Relation Between Handles of Source and Destination Objects*******&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;auto&lt;/SPAN&gt; iterA &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vCopy&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;begin&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;auto&lt;/SPAN&gt; iterB &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vPaste&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;begin&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;int&lt;/SPAN&gt; i &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #008c00;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;while&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;iterA &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vCopy&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;end&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;|&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;|&lt;/SPAN&gt; iterB &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vPaste&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;end&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
		_CopyTuples t&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		_PasteTuples p&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;iterA &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vCopy&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;end&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
			t &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vCopy&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;at&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;i&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			&lt;SPAN style="color: #d2cd86;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;+&lt;/SPAN&gt;iterA&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;iterB &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vPaste&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;end&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
			p &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; vPaste&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;at&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;i&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			&lt;SPAN style="color: #d2cd86;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;+&lt;/SPAN&gt;iterB&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
		&lt;SPAN style="color: #9999a9;"&gt;/*Check if Source item's Value is same as Destination Item's Key*/&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;get&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #008c00;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;t&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;CompareNoCase&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;get&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #008c00;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;p&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
			pairs&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;push_back&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_MapPairs&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;get&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #008c00;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;t&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;get&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #008c00;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;p&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
		i&lt;SPAN style="color: #d2cd86;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;for&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_MapPairs p &lt;SPAN style="color: #b060b0;"&gt;:&lt;/SPAN&gt; pairs&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
		acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt; &amp;lt;------------&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; p&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;first&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; p&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;second&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
		vCopy&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;clear&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		vPaste&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;clear&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;

&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;class&lt;/SPAN&gt; AcEdReactor &lt;SPAN style="color: #b060b0;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;public&lt;/SPAN&gt; AcEditorReactor
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	&lt;SPAN style="color: #9999a9;"&gt;/*To watch for _PASTECLIP*/&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;void&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;virtual&lt;/SPAN&gt; otherInsert&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;AcDbDatabase&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; pTo&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; AcDbIdMapping&lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt; idMap&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; AcDbDatabase&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; pFrom&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; str&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		_PasteTuples pasteClipEntities&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		AcDbIdPair idPair&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		AcDbIdMappingIter mapIter&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idMap&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;for&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;start&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;done&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt; mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;next&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
			&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;getMap&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
				&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
				AcDbSmartObjectPointer&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;AcDbEntity&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; pEnt&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;value&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; AcDb&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;kForRead&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
				&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #007d45;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt; pEnt&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;openStatus&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; Acad&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;eOk&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
					&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;objToClassStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt; : Handle&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;objToHandleStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt; : Key&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;  intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;key&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt; : Value&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;value&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					pasteClipEntities &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;make_tuple&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;objToHandleStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;
						intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;key&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;
						intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;value&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
						&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					vPaste&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;push_back&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pasteClipEntities&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;

				&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;


	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;void&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;virtual&lt;/SPAN&gt; otherWblock&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;AcDbDatabase&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; pTo&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; AcDbIdMapping&lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt; idMap&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; AcDbDatabase&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; pFrom&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;

		&lt;SPAN style="color: #9999a9;"&gt;/*To Watch For _COPYCLIP*/&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;CString&lt;/SPAN&gt; str&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		_CopyTuples copyCLipEntities&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		AcDbIdPair idPair&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		AcDbIdMappingIter mapIter&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idMap&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;for&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;start&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;done&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt; mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;next&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
			&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;mapIter&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;getMap&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
				&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;

				&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;isCloned&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
					&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
				AcDbSmartObjectPointer&lt;SPAN style="color: #b060b0;"&gt;&amp;lt;&lt;/SPAN&gt;AcDbEntity&lt;SPAN style="color: #b060b0;"&gt;&amp;gt;&lt;/SPAN&gt; pEnt&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;key&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; AcDb&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;kForRead&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
				&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt &lt;SPAN style="color: #d2cd86;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #007d45;"&gt;NULL&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;amp;&lt;/SPAN&gt; pEnt&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;openStatus&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; Acad&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;eOk&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
					&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;objToClassStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt; : Handle&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;objToHandleStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt; : Key&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;key&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					acutPrintf&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #007997;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt; : Value&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;value&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

					copyCLipEntities &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #00dddd;"&gt;std&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;make_tuple&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;
						objToHandleStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pEnt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;
						intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;key&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt;
						intDbIdToStr&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;idPair&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;value&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;asOldId&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
						&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
					vCopy&lt;SPAN style="color: #d2cd86;"&gt;.&lt;/SPAN&gt;push_back&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;copyCLipEntities&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

					&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
					&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;

				&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
			&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;

	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;static&lt;/SPAN&gt; AcEdReactor&lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt; testReactor &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #007d45;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;

&lt;SPAN style="color: #9999a9;"&gt;//**************************************************************&lt;/SPAN&gt;
&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;extern&lt;/SPAN&gt; &lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;C&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;
AcRx&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;AppRetCode acrxEntryPoint&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;AcRx&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;AppMsgCode msg&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;void&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;*&lt;/SPAN&gt;pkt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
&lt;SPAN style="color: #9999a9;"&gt;//**************************************************************&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;switch&lt;/SPAN&gt; &lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;msg&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;{&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;case &lt;/SPAN&gt;&lt;SPAN style="color: #007d45;"&gt;AcRx&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #007d45;"&gt;kInitAppMsg&lt;/SPAN&gt;&lt;SPAN style="color: #e34adc;"&gt;:&lt;/SPAN&gt;
			acrxDynamicLinker&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;unlockApplication&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pkt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			acrxDynamicLinker&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;registerAppMDIAware&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;pkt&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			testReactor &lt;SPAN style="color: #d2cd86;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #e66170; font-weight: bold;"&gt;new&lt;/SPAN&gt; AcEdReactor&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			acedEditor&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;addReactor&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;testReactor&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			acedRegCmds&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;addCommand&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;TestCmd&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;MPL&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; _T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;MPL&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; ACRX_CMD_TRANSPARENT&lt;SPAN style="color: #d2cd86;"&gt;,&lt;/SPAN&gt; tupes&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;break&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;case &lt;/SPAN&gt;&lt;SPAN style="color: #007d45;"&gt;AcRx&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #007d45;"&gt;kUnloadAppMsg&lt;/SPAN&gt;&lt;SPAN style="color: #e34adc;"&gt;:&lt;/SPAN&gt;
			acedRegCmds&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;removeGroup&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;_T&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #00c4c4;"&gt;TestCmd&lt;/SPAN&gt;&lt;SPAN style="color: #02d045;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			acedEditor&lt;SPAN style="color: #d2cd86;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #d2cd86;"&gt;&amp;gt;&lt;/SPAN&gt;removeReactor&lt;SPAN style="color: #d2cd86;"&gt;(&lt;/SPAN&gt;testReactor&lt;SPAN style="color: #d2cd86;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
			&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;break&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;default&lt;/SPAN&gt;&lt;SPAN style="color: #e34adc;"&gt;:&lt;/SPAN&gt;
			&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;break&lt;/SPAN&gt;&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
		&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
	&lt;SPAN style="color: #e66170; font-weight: bold;"&gt;return&lt;/SPAN&gt; AcRx&lt;SPAN style="color: #b060b0;"&gt;::&lt;/SPAN&gt;kRetOK&lt;SPAN style="color: #b060b0;"&gt;;&lt;/SPAN&gt;
	&lt;SPAN style="color: #b060b0;"&gt;}&lt;/SPAN&gt;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 07:05:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/more-copying-issues-prevent-copying-to-another-document/m-p/6911324#M8711</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2017-03-01T07:05:05Z</dc:date>
    </item>
  </channel>
</rss>

