<?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: ReadDwgFile for layer purge restore Xref layer settings in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324371#M42619</link>
    <description>&lt;P&gt;Yes, all my tests were in AutoCAD 2015.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;</description>
    <pubDate>Wed, 08 Oct 2014 12:13:16 GMT</pubDate>
    <dc:creator>Balaji_Ram</dc:creator>
    <dc:date>2014-10-08T12:13:16Z</dc:date>
    <item>
      <title>ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5303289#M42610</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running below code to purge the layers from drawing by opening the file in ReadDwgFile method.&lt;/P&gt;&lt;P&gt;After running the code, when I open the file all the xref's layer settings is reloaded from the reference drawing.&lt;/P&gt;&lt;P&gt;I checked VISRETAIN variable and it is set to 1 only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the steps I followed.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;From the attached zip file open Master.dwg.&lt;/LI&gt;&lt;LI&gt;There is an xref called Xref.dwg attached to Master.dwg&lt;/LI&gt;&lt;LI&gt;Change the Xref layer color in the Master.dwg.&lt;/LI&gt;&lt;LI&gt;Save and close the Master.dwg&lt;/LI&gt;&lt;LI&gt;From any other drawing run the command LAYER-PURGE-TEST and select Master.dwg to purge.&lt;/LI&gt;&lt;LI&gt;Open Master.dwg to check whether the xref layer color has changed.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me after running this command the xref layer settings are always changing.&lt;/P&gt;&lt;P&gt;Xref layer settings are restored to reference drawing and the VISRETAIN value is 1 only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also another issue is drawing preview is blank/nothing even I set retainthumbnail to True.&lt;/P&gt;&lt;PRE&gt;Side_dbase.RetainOriginalThumbnailBitmap = True&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the code&lt;/P&gt;&lt;PRE&gt;Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.EditorInput
Imports Autodesk.AutoCAD.Runtime

Public Class Class1

    &amp;lt;CommandMethod("LAYER-PURGE-TEST")&amp;gt; _
    Public Sub Layer_Purge()
        Dim f_opts As PromptOpenFileOptions = New PromptOpenFileOptions("Open")
        f_opts.Filter = "Drawing (*.dwg)|*.dwg"

        Dim ed As Editor = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor
        Dim rslt As PromptFileNameResult = ed.GetFileNameForOpen(f_opts)

        If rslt.Status = PromptStatus.OK Then
            Dim Side_dbase As Database = New Database(False, False)
            Try
                Side_dbase.ReadDwgFile(rslt.StringResult, FileOpenMode.OpenForReadAndWriteNoShare, True, "")
                Side_dbase.RetainOriginalThumbnailBitmap = True
                Side_dbase.CloseInput(True)

                Purge_Layers(Side_dbase)
                Side_dbase.SaveAs(rslt.StringResult, False, DwgVersion.Current, Side_dbase.SecurityParameters)

                Side_dbase.Dispose()
            Catch ex As Exception
            End Try
        End If
        ed.WriteMessage(vbCrLf + " Purge Finished")

    End Sub

    'This is the function using to Purge the Layers.&lt;BR /&gt;    '----------------------------------------------------------------------------------------------------
    Public Shared Function Purge_Layers(ByVal db As Database) As String
        Dim count As String = "0"
        Dim tm1 As Autodesk.AutoCAD.DatabaseServices.TransactionManager = db.TransactionManager
        Dim prmtr As ProgressMeter = New ProgressMeter
        Using TR3 As Transaction = tm1.StartTransaction

            Dim Id_to_Purge = New ObjectIdCollection()

            Dim Layer_Table As LayerTable = TR3.GetObject(db.LayerTableId, OpenMode.ForRead)
            For Each obid As ObjectId In Layer_Table
                If obid.IsValid Then
                    Id_to_Purge.Add(obid)
                End If
            Next
            db.Purge(Id_to_Purge)
            count = Id_to_Purge.Count.ToString

            prmtr.Start("Deleting Layers : ")
            prmtr.SetLimit(Id_to_Purge.Count)

            For Each obid_del As ObjectId In Id_to_Purge
                Dim obj As DBObject = TR3.GetObject(obid_del, OpenMode.ForWrite)
                obj.Erase()
                prmtr.MeterProgress()
            Next
            prmtr.Stop()
            TR3.Commit()
        End Using
        Return count
    End Function
End Class&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Sep 2014 10:56:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5303289#M42610</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2014-09-28T10:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5321867#M42611</link>
      <description>&lt;P&gt;Hi Ajilal,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for letting us know about the behaviour. I could reproduce it&amp;nbsp;using the files that you provided.&lt;/P&gt;
&lt;P&gt;I am working on it and will update you.&amp;nbsp;As explained in the documentation the purge should not be modifiying the database in any way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have seen previous reports&amp;nbsp;such as these when the purge did modify the database when using&amp;nbsp;side databases but those were not in recent versions of AutoCAD. The workaround was to save the state that was being modified and set them back after the purge method call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am doing some more tests on this behavior and will&amp;nbsp;keep you updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:37:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5321867#M42611</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2014-10-07T13:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5322855#M42612</link>
      <description>&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;Thank you so much for looking at this behaviour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To support my first post, this test I tried on both 2012 and 2014 version and this behaviour still exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2014 19:06:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5322855#M42612</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2014-10-07T19:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5323679#M42613</link>
      <description>&lt;P&gt;Balaji,&lt;/P&gt;&lt;P&gt;Just want to inform you that one workaround that I am using right now is checking &lt;EM&gt;&lt;STRONG&gt;Not lay.IsDependent&lt;/STRONG&gt;&lt;/EM&gt; on layers before calling &lt;STRONG&gt;&lt;EM&gt;obj.erase().&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; For Each obid_del As ObjectId In Id_to_Purge

                Dim obj As DBObject = TR3.GetObject(obid_del, OpenMode.ForWrite)
                Dim lay As LayerTableRecord = TryCast(obj, LayerTableRecord)&lt;BR /&gt;
                &lt;STRONG&gt;ed.WriteMessage(vbCrLf + lay.Name)&lt;/STRONG&gt;

                &lt;STRONG&gt;If Not lay.IsDependent Then
                    obj.Erase()
                End If&lt;/STRONG&gt;

                prmtr.MeterProgress()
            Next&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ed.WriteMessage(vbCrLf + lay.Name)&lt;/EM&gt;&lt;/STRONG&gt; displays that these layers are avaialble to purge.&lt;/P&gt;&lt;P&gt;&lt;IMG title="Capture.JPG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/131021i6B212D2CD7E10141/image-size/original?v=mpbl-1&amp;amp;px=-1" align="middle" alt="Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 04:28:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5323679#M42613</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2014-10-08T04:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5323905#M42614</link>
      <description>&lt;P&gt;Hi Ajilal, I think my original problem was&amp;nbsp;similar to&amp;nbsp;yours. I had Xref layers&amp;nbsp;turning off after the purging even though VISRETAIN was set. I though it may have been related to:&lt;/P&gt;&lt;P&gt;undefinedLayerStatePolicy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;// changed from 0 to 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;// think this is problem, xref layers think they are new&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt; so are restored off&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My workaround was to&amp;nbsp;save a LayerState, do the work, and then restore LayerState.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://forums.autodesk.com/t5/net/layer-state-save-amp-set-error/m-p/5255379/highlight/false#M42100"&gt;http://forums.autodesk.com/t5/net/layer-state-save-amp-set-error/m-p/5255379/highlight/false#M42100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Dale (upstairs)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 07:52:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5323905#M42614</guid>
      <dc:creator>Dale.Bartlett</dc:creator>
      <dc:date>2014-10-08T07:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324225#M42615</link>
      <description>&lt;P&gt;Dale,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like I mentioned in my last post, adding a '&lt;EM&gt;&lt;STRONG&gt;If Not lay.IsDependent&lt;/STRONG&gt;&lt;/EM&gt;' check seems to be an another workaround.&lt;/P&gt;&lt;P&gt;Because while using the side database, &lt;STRONG&gt;&lt;EM&gt;db.Purge &lt;/EM&gt;&lt;/STRONG&gt;collecting the objectid's of all the xref layers are available to purge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So without checking whether the layers are dependant, the code will delete the xref layers and later when you open the drawing the xref layers are restored from its reference drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I wonder how &lt;STRONG&gt;&lt;EM&gt;db.Purge&lt;/EM&gt;&lt;/STRONG&gt; can collect the xref layers objectid ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit:-&lt;/P&gt;&lt;P&gt;Also the&amp;nbsp;&lt;A target="_blank" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3adrawingpurge_windows32and64%3aen"&gt;app which I published on Appstore&lt;/A&gt; is using the above code to purge the layers.&lt;/P&gt;&lt;P&gt;So the app will be unpublish soon to avoid unexpeceted result to the users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:21:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324225#M42615</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2014-10-08T11:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324273#M42616</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems the purge is identifying&amp;nbsp;those layers as purgeable since it is not directly being referenced by any entity in the modelspace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, when we have an xref A.dwg in main.dwg, the&amp;nbsp;Xref layers A|Layer1, A|Layer2 are only referenced by entities inside the BlockTableRecord named A. The modelspace only has a block reference to A.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even the following method, identifies those layers as purgeable because they arent used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim Layer_Table As LayerTable = TR.GetObject(db.LayerTableId, OpenMode.ForRead)

                Layer_Table.GenerateUsageData()

                For Each obid As ObjectId In Layer_Table
                    Dim ltr As LayerTableRecord = TR.GetObject(obid, OpenMode.ForRead)
                    If ltr.IsUsed = False Then
                    End If
                Next&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I would suggest iterating the entities in other block table records to see if any of those entities are referencing the layers.&lt;/P&gt;
&lt;P&gt;Only layers that aren't used can be added&amp;nbsp;for the purge test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:38:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324273#M42616</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2014-10-08T11:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324307#M42617</link>
      <description>&lt;P&gt;Just wanted to add to my previous reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not think this is the right behavior. So, I will log this behavior with our engineering team for them to analyze it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When we have a regular block whose entities reference the layers, the layers are not identified as purgeable - As we would expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in case of a block table record that is generated for Xref, when the entities in that BTR reference the layers, the layers are identified as not used and purgeable, which should not be case, I think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:51:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324307#M42617</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2014-10-08T11:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324351#M42618</link>
      <description>&lt;P&gt;Thanks Balaji,&lt;/P&gt;&lt;P&gt;Also did you check this behaviour with 2015 series ?&lt;/P&gt;&lt;P&gt;I dont have 2015 to check this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I will use&amp;nbsp; '&lt;EM&gt;&lt;STRONG&gt;If Not lay.IsDependent&lt;/STRONG&gt;&lt;/EM&gt;' check on layer before erasing the layer, as this seems to be working.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 12:07:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324351#M42618</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2014-10-08T12:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324371#M42619</link>
      <description>&lt;P&gt;Yes, all my tests were in AutoCAD 2015.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 12:13:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5324371#M42619</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2014-10-08T12:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5325495#M42620</link>
      <description>&lt;P&gt;If only entities in the xref are referencing the layer, and the xref is not currently resolved in the host drawing, then the behavior being described is correct because there are no objects in the host drawing that reference the layer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the xrefs are resolved in the host database before checking, then the layers should not be considered purgeable.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 17:11:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5325495#M42620</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2014-10-08T17:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: ReadDwgFile for layer purge restore Xref layer settings</title>
      <link>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5326591#M42621</link>
      <description>&lt;P&gt;Hi artc2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the xrefs are resolved in the host database.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 04:51:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/readdwgfile-for-layer-purge-restore-xref-layer-settings/m-p/5326591#M42621</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2014-10-09T04:51:01Z</dc:date>
    </item>
  </channel>
</rss>

