<?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: Clone a polyline with a new objectId in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/clone-a-polyline-with-a-new-objectid/m-p/13055978#M2445</link>
    <description>&lt;P&gt;Cloning any DBObject produces a new object that is not in any Database. A DBObject cannot have an ObjectId unless it is added to a Database. You can call BlockTableRecord.AppendEntity() and pass it a new object (such as the one returned by calling Clone()), and it will append the entity to the BlockTableRecord and assign an ObjectId to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use Database.DeepCloneObjects() to clone existing entities to a new owner or to the same owner, and that API will take care of adding the clones to the Database/owner., and assigning them ObjectIds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can search this group for 'DeepCloneObjects' to find examples of its use, or wait for someone to write one for you (sorry, I don't have time for that).&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 23:26:26 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2024-09-30T23:26:26Z</dc:date>
    <item>
      <title>Clone a polyline with a new objectId</title>
      <link>https://forums.autodesk.com/t5/net-forum/clone-a-polyline-with-a-new-objectid/m-p/13055860#M2444</link>
      <description>&lt;P&gt;Is it possible to clone a polyline so that it has a new objectId?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 21:45:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/clone-a-polyline-with-a-new-objectid/m-p/13055860#M2444</guid>
      <dc:creator>p_jones2_1983</dc:creator>
      <dc:date>2024-09-30T21:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clone a polyline with a new objectId</title>
      <link>https://forums.autodesk.com/t5/net-forum/clone-a-polyline-with-a-new-objectid/m-p/13055978#M2445</link>
      <description>&lt;P&gt;Cloning any DBObject produces a new object that is not in any Database. A DBObject cannot have an ObjectId unless it is added to a Database. You can call BlockTableRecord.AppendEntity() and pass it a new object (such as the one returned by calling Clone()), and it will append the entity to the BlockTableRecord and assign an ObjectId to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use Database.DeepCloneObjects() to clone existing entities to a new owner or to the same owner, and that API will take care of adding the clones to the Database/owner., and assigning them ObjectIds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can search this group for 'DeepCloneObjects' to find examples of its use, or wait for someone to write one for you (sorry, I don't have time for that).&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 23:26:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/clone-a-polyline-with-a-new-objectid/m-p/13055978#M2445</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-09-30T23:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Clone a polyline with a new objectId</title>
      <link>https://forums.autodesk.com/t5/net-forum/clone-a-polyline-with-a-new-objectid/m-p/13055997#M2446</link>
      <description>&lt;P&gt;i can code i just needed to know the procedure. thanks for the advice and will give it a try.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 23:40:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/clone-a-polyline-with-a-new-objectid/m-p/13055997#M2446</guid>
      <dc:creator>p_jones2_1983</dc:creator>
      <dc:date>2024-09-30T23:40:25Z</dc:date>
    </item>
  </channel>
</rss>

