<?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: Opening a drawing/database from memory, instead of a file in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/opening-a-drawing-database-from-memory-instead-of-a-file/m-p/6293769#M10153</link>
    <description>AcDwgFileHandle is in internal only class, so the class declaration is not available for public use.  It only works with files on disk, so it would not be useful to you.</description>
    <pubDate>Tue, 26 Apr 2016 16:16:37 GMT</pubDate>
    <dc:creator>artc2</dc:creator>
    <dc:date>2016-04-26T16:16:37Z</dc:date>
    <item>
      <title>Opening a drawing/database from memory, instead of a file</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/opening-a-drawing-database-from-memory-instead-of-a-file/m-p/6293121#M10152</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a plugin that would&amp;nbsp;enable&amp;nbsp;AutoCAD to open my encrypted drawings. I would like to avoid having to decrypt the drawing to a dwg file. However, the APIs for&amp;nbsp;opening a drawing in AutoCAD all seem to work only with filepaths. Is there any other way to load&amp;nbsp;a drawing/database in AutoCAD, that does not involve having a dwg file&amp;nbsp;on the hard drive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What has caught my attention was the&lt;/P&gt;&lt;PRE&gt;AcDbDatabase::readDwgFile(AcDwgFileHandle * pDwgFile, ...)&lt;/PRE&gt;&lt;P&gt;function,&amp;nbsp;but I was&amp;nbsp;unable to find any information on the AcDwgFileHandle class. If it just was a wrapper for Win32 HANDLE or something, it would easily&amp;nbsp;solve my problems. Does anyone know how to obtain the&amp;nbsp;&lt;SPAN&gt;AcDwgFileHandle and whether it would be useful for my purposes?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your&amp;nbsp;help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 12:51:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/opening-a-drawing-database-from-memory-instead-of-a-file/m-p/6293121#M10152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-26T12:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Opening a drawing/database from memory, instead of a file</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/opening-a-drawing-database-from-memory-instead-of-a-file/m-p/6293769#M10153</link>
      <description>AcDwgFileHandle is in internal only class, so the class declaration is not available for public use.  It only works with files on disk, so it would not be useful to you.</description>
      <pubDate>Tue, 26 Apr 2016 16:16:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/opening-a-drawing-database-from-memory-instead-of-a-file/m-p/6293769#M10153</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2016-04-26T16:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Opening a drawing/database from memory, instead of a file</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/opening-a-drawing-database-from-memory-instead-of-a-file/m-p/6303160#M10154</link>
      <description>&lt;P&gt;Would it help at all if you would be able to decrypt a DWG "transparently"?&lt;/P&gt;&lt;P&gt;What if the user enters QSAVE? Would your drawing be encrypted automatically as well?&lt;/P&gt;&lt;P&gt;How do you manage the encryption?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 07:55:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/opening-a-drawing-database-from-memory-instead-of-a-file/m-p/6303160#M10154</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2016-05-02T07:55:26Z</dc:date>
    </item>
  </channel>
</rss>

