<?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 copy mechanism in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5924182#M10609</link>
    <description>&lt;P&gt;So there is another question.&lt;/P&gt;&lt;P&gt;I don't have any selection set. Then start COPYCLIP. This command then let me chose entities to copy - so it creates a new selection set. Is there any way to get to this selection set and check what's in it? PickfirstModified doesn't get called in such case.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2015 09:56:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-25T09:56:58Z</dc:date>
    <item>
      <title>Custom copy mechanism</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5917404#M10607</link>
      <description>&lt;P&gt;Hi, I need something like custom copy mechanism. It should work like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. When a _COPYCLIP command is invoked I need to stop it.&lt;/P&gt;&lt;P&gt;2. Then my mechanism should be invoked&lt;/P&gt;&lt;P&gt;3. When a _PASTECLIP is invoked I need to stop it.&lt;/P&gt;&lt;P&gt;4. And call my mechanism to paste entity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's more, this should be only for my custom entities. For AutoCAD entities, Autocad copy &amp;amp; paste mechanism should be invoked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that part of my entities are not copyable. And I don't want Autocad to copy them. I tried to return eInapplicable in subDeepClone and subwBlockClone, but it ended up in an error message. Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 11:48:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5917404#M10607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-20T11:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom copy mechanism</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5917911#M10608</link>
      <description>&lt;P&gt;You can create your own COPYCLIP and PASTECLIP commands to replace the built-in commands. If you really&amp;nbsp;must prevent the built-in commands from executing you'll need to veto() them during AcApDocManagerReactor::documentLockModeChanged().&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5917911#M10608</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2015-11-20T16:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom copy mechanism</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5924182#M10609</link>
      <description>&lt;P&gt;So there is another question.&lt;/P&gt;&lt;P&gt;I don't have any selection set. Then start COPYCLIP. This command then let me chose entities to copy - so it creates a new selection set. Is there any way to get to this selection set and check what's in it? PickfirstModified doesn't get called in such case.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 09:56:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5924182#M10609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-25T09:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom copy mechanism</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5924330#M10610</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;SPAN style="line-height: 15px;"&gt;The problem is that part of my entities are not copyable. And I don't want Autocad to copy them.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;so, if you need to prevent coping try&amp;nbsp;this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2012/05/disabling-copy-command-for-certain-entities.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2012/05/disabling-copy-command-for-certain-entities.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2013/01/prevent-coping-of-the-entity.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2013/01/prevent-coping-of-the-entity.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 11:53:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5924330#M10610</guid>
      <dc:creator>nick83</dc:creator>
      <dc:date>2015-11-25T11:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom copy mechanism</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5930643#M10611</link>
      <description>&lt;P&gt;Well veto command this way works. I wish it could work in commandWillStart - it would be more predictable. I accepted this as solution, because it really stopped these commands. But it occured that this is not all what makes my problems.&lt;/P&gt;&lt;P&gt;It's something with my application, and unfortunately I will have to solve it by myself.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 09:08:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-copy-mechanism/m-p/5930643#M10611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-01T09:08:58Z</dc:date>
    </item>
  </channel>
</rss>

