<?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: How to save an entity to a file in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220624#M7506</link>
    <description>Thanks !!&lt;BR /&gt;Yes , you are right..&lt;BR /&gt;It is the best way to save these as a dwg file and open it</description>
    <pubDate>Wed, 06 Sep 2023 02:22:33 GMT</pubDate>
    <dc:creator>songmaverick</dc:creator>
    <dc:date>2023-09-06T02:22:33Z</dc:date>
    <item>
      <title>How to save an entity to a file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12210967#M7500</link>
      <description>&lt;P&gt;I would like to save a list which including many entities to a .txt in order to read it to&amp;nbsp;blockTableRecord.&lt;/P&gt;&lt;P&gt;I would like to serialize these entities and save to a file. But the Object&amp;nbsp;is not marked as serializable..&lt;/P&gt;&lt;P&gt;Anyony could tell me how to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="songmaverick_0-1693538042299.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1260719i3CE2A253D9A88BB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="songmaverick_0-1693538042299.png" alt="songmaverick_0-1693538042299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 03:14:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12210967#M7500</guid>
      <dc:creator>songmaverick</dc:creator>
      <dc:date>2023-09-01T03:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to save an entity to a file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12211113#M7501</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14039652"&gt;@songmaverick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without knowing how you are making the&amp;nbsp;&lt;SPAN&gt;blockTableRecord, you may be able to achieve your goal by either ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;saving the ObjectID&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or the drawingName and Handle (if in a different database )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;as well as any other data you need.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Frankly, it's a task that requires some planning, but the data required and the way you save the data depends on how&amp;nbsp; you intend building the blockTableRecord.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 05:46:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12211113#M7501</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2023-09-01T05:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to save an entity to a file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12211676#M7502</link>
      <description>&lt;P&gt;Maybe subclass a dwgfiler / dxffiler and implement iserializable&lt;/P&gt;&lt;P&gt;edit, or maybe just use wblock&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 10:49:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12211676#M7502</guid>
      <dc:creator>daniel_cadext</dc:creator>
      <dc:date>2023-09-01T10:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to save an entity to a file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220603#M7503</link>
      <description>There is no 'push-button' means of serialization for AutoCAD objects. You would have to implement the entire serialization mechanism yourself, which is no small undertaking. The end result would be not much unlike a binary DXF file.</description>
      <pubDate>Wed, 06 Sep 2023 02:07:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220603#M7503</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2023-09-06T02:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to save an entity to a file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220620#M7504</link>
      <description>&lt;P&gt;Thanks !!&lt;/P&gt;&lt;P&gt;Yes , you are right..&lt;/P&gt;&lt;P&gt;I have to recode all the class and&amp;nbsp;&lt;SPAN&gt;implement&amp;nbsp;the&amp;nbsp;serialization&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I find a way to solve this problem, which is to save as a dwg file and open what I save .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 02:18:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220620#M7504</guid>
      <dc:creator>songmaverick</dc:creator>
      <dc:date>2023-09-06T02:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to save an entity to a file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220623#M7505</link>
      <description>Thanks !!&lt;BR /&gt;Yes , you are right..&lt;BR /&gt;I have to recode all the class and implement the serialization but there is too much work to do.&lt;BR /&gt;Finally I find a way to solve this problem, which is to save these entities as a dwg file and open what I save .</description>
      <pubDate>Wed, 06 Sep 2023 02:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220623#M7505</guid>
      <dc:creator>songmaverick</dc:creator>
      <dc:date>2023-09-06T02:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to save an entity to a file</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220624#M7506</link>
      <description>Thanks !!&lt;BR /&gt;Yes , you are right..&lt;BR /&gt;It is the best way to save these as a dwg file and open it</description>
      <pubDate>Wed, 06 Sep 2023 02:22:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-save-an-entity-to-a-file/m-p/12220624#M7506</guid>
      <dc:creator>songmaverick</dc:creator>
      <dc:date>2023-09-06T02:22:33Z</dc:date>
    </item>
  </channel>
</rss>

