<?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 Betreff: Copying and pasting XData between drawings in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151334#M59312</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;good idea, but copying the drawing (with file-copy) is not prevented with this way.&lt;/P&gt;&lt;P&gt;Not as criticism, just as info to think of it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2011 19:53:01 GMT</pubDate>
    <dc:creator>Alfred.NESWADBA</dc:creator>
    <dc:date>2011-09-08T19:53:01Z</dc:date>
    <item>
      <title>Copying and pasting XData between drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151302#M59311</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can know if entities are being manually copied and pasted between drawings.&lt;/P&gt;&lt;P&gt;A thought is to add a GUID to each entities Xdata and check if the value is in the named object dictionary.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 19:42:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151302#M59311</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2011-09-08T19:42:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: Copying and pasting XData between drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151334#M59312</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;good idea, but copying the drawing (with file-copy) is not prevented with this way.&lt;/P&gt;&lt;P&gt;Not as criticism, just as info to think of it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 19:53:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151334#M59312</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2011-09-08T19:53:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: Copying and pasting XData between drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151858#M59314</link>
      <description>&lt;P&gt;&lt;SPAN style="line-height: 13px; background-color: #f5f5f5;"&gt;ohh.. good point!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will read the filename also as a second measure. Filenames might be the same as well but both would be rare.&lt;/P&gt;&lt;P&gt;Or maybe the file creation date and time.&amp;nbsp;﻿&lt;/P&gt;&lt;P&gt;Probably no need to write anything as data. I just need to read the identifiers during copy and paste to see if they don't match.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 06:27:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151858#M59314</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2011-09-09T06:27:56Z</dc:date>
    </item>
    <item>
      <title>Betreff: Copying and pasting XData between drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151876#M59315</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not sure what your global direction is. For me and my way of work, the filename is used as variable as possible.&lt;/P&gt;&lt;P&gt;1) On one side I save with a drawing-name ending with 2-4 digits as version-number and from time to time I do a _SAVEAS and increase the number.&lt;/P&gt;&lt;P&gt;2) On the other side, I transfer the files between computers (e.g. to home-office), continue to work and then copy it back (will be an allowed copy?)&lt;/P&gt;&lt;P&gt;3) not to forget, what if you get a file back by restoring from a backup-system (also allowed filecopy, isn't it?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...and I think that there are a lot more reasons to copy a file and it sould be also valid out of your sight.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think (without something like a data-managementserver, where the files are not stored in a filessystem you can directly access) it will not be possible to handle a filecopy with data stored within the DWG-file, that on one side allows the above variations but limit some - from your point of view - "not allowed"mechanism of copying.&lt;/P&gt;&lt;P&gt;Within the dataserver you have document-id's that give you the possibility of using a unique-id that you cannot get from a filesystem. However, also handling that with the fileserver is a challange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you could describe more of "for what reason" are you doing that, then there may come some better ideas than this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 06:44:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151876#M59315</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2011-09-09T06:44:40Z</dc:date>
    </item>
    <item>
      <title>Betreff: Copying and pasting XData between drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151932#M59316</link>
      <description>&lt;P&gt;I really just need to know if the objects being pasted into a drawing have been copied from the same drawing.&lt;/P&gt;&lt;P class="MsoNormal"&gt;COPYBASE command is the only event I need to consider.&lt;/P&gt;&lt;P class="MsoNormal"&gt;I’ll tell users that other methods like inserting a drawing as a block then exploding isn't supported.&lt;/P&gt;&lt;P class="MsoNormal"&gt;﻿﻿﻿&lt;/P&gt;&lt;P class="MsoNormal"&gt;Maybe the file creation date and time is a good unique identifier to monitor.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; mso-bidi-font-family: Consolas; color: blue;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; mso-bidi-font-family: Consolas;"&gt; FileCreationTime &lt;SPAN style="color: blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #2b91af;"&gt;File&lt;/SPAN&gt;.GetCreationTime(db.Filename())&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 9.5pt; font-family: Consolas; mso-bidi-font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 07:36:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151932#M59316</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2011-09-09T07:36:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: Copying and pasting XData between drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151960#M59317</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even don't know what type of copy is now allowed, sorry. Why do you have to watch only _COPYBASE, there is also _COPYCLIP and also I think that not creating the copy-buffer will be the problem but the _PASTE*-methods have to be watched (or is it also not allowed to create a copy of geometry into MS-Word for documentation?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file-creation-date will also fail with my above types (backup-restore/copy to home-office/version-numbering).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if you write EEDs and NOD, how will you handle the situation of home-work? Will you ensure that the home-pc will also run your application every time AutoCAD starts (and with any AutoCAD-profile and ...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, after reading that .... all I'm writing look so pessimistic. &lt;STRONG&gt;Please&lt;/STRONG&gt; understand that just as ideas, not as "all is nonesens"!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 07:57:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3151960#M59317</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2011-09-09T07:57:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: Copying and pasting XData between drawings</title>
      <link>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3152012#M59318</link>
      <description>&lt;P&gt;Hi Alfred.&lt;/P&gt;&lt;P&gt;Sorry. First time I've done this and have no experience at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I personally only use COPYBASE between drawings. I wasn't thinking about COPYCLIP or CUTCLIP but will now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filename including the path should solve the drawing identification problem I think (checking source dwg = destination dwg). Two open drawings will never the same filepath &amp;amp; filename.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:16:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/copying-and-pasting-xdata-between-drawings/m-p/3152012#M59318</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2011-09-09T09:16:44Z</dc:date>
    </item>
  </channel>
</rss>

