<?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: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331485#M90057</link>
    <description>Well, my top secret plan is to get all that information, then detach all the&lt;BR /&gt;
xrefs and then insert them all into the one drawing as blocks. Like bind but&lt;BR /&gt;
without all the hassle of not being able to bind nested xrefs. I'm sure&lt;BR /&gt;
someone has probably already done it but I was trying to figure it out&lt;BR /&gt;
myself.&lt;BR /&gt;
&lt;BR /&gt;
Graeme&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:594ADA07AB214F89E458D324E31CCEF8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Well, a nested XRef's insertion point only make sense in the context of&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; parent XRef that it is in. I deemed it unneeded to report the insertion&lt;BR /&gt;
&amp;gt; point of nested XRefs, because of what use would it be?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For instance:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: Diff&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\Diff.dwg&lt;BR /&gt;
&amp;gt; Inserted at: 12,12,0&lt;BR /&gt;
&amp;gt; Scale factor: 1&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: Drawing2&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\Drawing2.dwg&lt;BR /&gt;
&amp;gt; Inserted at: 9.63501133246334,30.3961543419182,0&lt;BR /&gt;
&amp;gt; Scale factor: 1&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: X-Diff&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\X-Diff.dwg&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In the above, there are only two XRefs actually placed in the drawing (in&lt;BR /&gt;
&amp;gt; modelspace). The 3rd one, X-Diff, is a nested XRef in Diff.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; -- &lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Graeme Hyslop" &lt;GHYSLOP&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:D57B5414773E384648F1BFC3D90EBE77@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; | Thank you Robert that worked almost perfect. To start with it listed the&lt;BR /&gt;
&amp;gt; | name and path of them all, but only the scale and insertion point of the&lt;BR /&gt;
&amp;gt; | first xref. By commenting out the If ynInserted ... line it worked&lt;BR /&gt;
&amp;gt; | perfectly. Is the If ynInserted ... line important for something ?&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; | Graeme&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; | &amp;gt; Option Explicit&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Public Sub Test()&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim XRefs As New Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set XRefs = GetXRefs&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim XRef As AcadExternalReference&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ynInserted As Boolean&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   For i = 1 To XRefs.Count&lt;BR /&gt;
&amp;gt; | &amp;gt;     Set XRef = XRefs(i)&lt;BR /&gt;
&amp;gt; | &amp;gt;     ynInserted = IsInserted(XRef)&lt;BR /&gt;
&amp;gt; | &amp;gt;     Debug.Print _&lt;BR /&gt;
&amp;gt; | &amp;gt;       "XRef name: " &amp;amp; XRef.Name &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;       vbCrLf &amp;amp; "XRef path: " &amp;amp; XRef.Path&lt;BR /&gt;
&amp;gt; | &amp;gt;     If ynInserted Then&lt;BR /&gt;
&amp;gt; | &amp;gt;       Debug.Print _&lt;BR /&gt;
&amp;gt; | &amp;gt;         "Inserted at: " &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(0)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(1)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(2)) &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         vbCrLf &amp;amp; "Scale factor: " &amp;amp; XRef.XScaleFactor&lt;BR /&gt;
&amp;gt; | &amp;gt;     End If&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next i&lt;BR /&gt;
&amp;gt; | &amp;gt; End Sub&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Private Function IsInserted(Block As AcadExternalReference) As Boolean&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim BlockOwner As Long&lt;BR /&gt;
&amp;gt; | &amp;gt;   BlockOwner = Block.OwnerID&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   If BlockOwner = ThisDrawing.ModelSpace.ObjectID Then&lt;BR /&gt;
&amp;gt; | &amp;gt;     IsInserted = True&lt;BR /&gt;
&amp;gt; | &amp;gt;     Exit Function&lt;BR /&gt;
&amp;gt; | &amp;gt;   End If&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisLayout As AcadLayout&lt;BR /&gt;
&amp;gt; | &amp;gt;   For Each ThisLayout In ThisDrawing.Layouts&lt;BR /&gt;
&amp;gt; | &amp;gt;     If BlockOwner = ThisLayout.ObjectID Then&lt;BR /&gt;
&amp;gt; | &amp;gt;       IsInserted = True&lt;BR /&gt;
&amp;gt; | &amp;gt;       Exit Function&lt;BR /&gt;
&amp;gt; | &amp;gt;     End If&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next ThisLayout&lt;BR /&gt;
&amp;gt; | &amp;gt; End Function&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Private Function GetXRefs() As Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisBlock As AcadBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisObject As AcadEntity&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim AnXRef As AcadExternalReference&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim Result As New Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt; | &amp;gt;   For Each ThisBlock In ThisDrawing.Blocks&lt;BR /&gt;
&amp;gt; | &amp;gt;     For Each ThisObject In ThisBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;       If TypeOf ThisObject Is AcadExternalReference Then&lt;BR /&gt;
&amp;gt; | &amp;gt;         Set AnXRef = ThisObject&lt;BR /&gt;
&amp;gt; | &amp;gt;         Result.Add AnXRef, CStr(i)&lt;BR /&gt;
&amp;gt; | &amp;gt;         i = i + 1&lt;BR /&gt;
&amp;gt; | &amp;gt;       End If&lt;BR /&gt;
&amp;gt; | &amp;gt;     Next ThisObject&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next ThisBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set GetXRefs = Result&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set Result = Nothing&lt;BR /&gt;
&amp;gt; | &amp;gt; End Function&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; -- &lt;BR /&gt;
&amp;gt; | &amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; | &amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/GHYSLOP&gt;&lt;/NOT.ROBERTB&gt;</description>
    <pubDate>Fri, 25 Jul 2003 12:15:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-07-25T12:15:21Z</dc:date>
    <item>
      <title>xref list</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331480#M90052</link>
      <description>using autocad 14 and vba how would i get a list of xrefs in the current&lt;BR /&gt;
drawing?&lt;BR /&gt;
Rob</description>
      <pubDate>Wed, 27 Sep 2000 23:12:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331480#M90052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-09-27T23:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: xref list</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331481#M90053</link>
      <description>I''m new to VBA so excuse me for all the bad programming in this routine.&lt;BR /&gt;
I'm trying to get it to tell me what xref's and nested xref's are in a&lt;BR /&gt;
drawing and give their file path, insertion point and scale.&lt;BR /&gt;
I can get this information for the main xref's but I can only seem to get&lt;BR /&gt;
the name for the nested xrefs.&lt;BR /&gt;
I cant seem to get my head round the difference between a block and a&lt;BR /&gt;
blockreference and why I can can only get certain properties for each one.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Graeme&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
&lt;BR /&gt;
Public Sub QDA_list()&lt;BR /&gt;
On Error Resume Next&lt;BR /&gt;
Dim XrfObj As AcadBlock&lt;BR /&gt;
Dim XrfRef As AcadBlockReference&lt;BR /&gt;
Dim Xrfnme As String&lt;BR /&gt;
Dim XrfInsPt As Variant&lt;BR /&gt;
Dim XrfScle As Variant&lt;BR /&gt;
Dim XrfPath As String&lt;BR /&gt;
Dim i As Integer&lt;BR /&gt;
Dim Count As Integer&lt;BR /&gt;
&lt;BR /&gt;
    For i = 0 To Count + 1&lt;BR /&gt;
    For Each XrfObj In ThisDrawing.Blocks&lt;BR /&gt;
    Set XrfRef = XrfObj.Item(i)&lt;BR /&gt;
        If XrfObj.IsXRef Then&lt;BR /&gt;
            Xrfnme = XrfObj.Name&lt;BR /&gt;
                'If Xrfnme = "" Then&lt;BR /&gt;
                'MsgBox "there are no xrefs in this drawing"&lt;BR /&gt;
            XrfInsPt = XrfRef.InsertionPoint&lt;BR /&gt;
            XrfScle = XrfRef.XScaleFactor&lt;BR /&gt;
            XrfPath = XrfRef.Path&lt;BR /&gt;
            MsgBox "The xrefs attached include " &amp;amp; Xrfnme&lt;BR /&gt;
            MsgBox "The xref path is " &amp;amp; XrfPath&lt;BR /&gt;
            MsgBox "The xref scale is " &amp;amp; XrfScle&lt;BR /&gt;
            MsgBox "The xrefs are at " &amp;amp; XrfInsPt(0) &amp;amp; ", " &amp;amp; XrfInsPt(1) &amp;amp;&lt;BR /&gt;
", " &amp;amp; XrfInsPt(2)&lt;BR /&gt;
        End If&lt;BR /&gt;
    Next&lt;BR /&gt;
    Next i&lt;BR /&gt;
End Sub</description>
      <pubDate>Fri, 25 Jul 2003 06:39:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331481#M90053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T06:39:22Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331482#M90054</link>
      <description>The problem is this huge hole in the object model that exposes the path of&lt;BR /&gt;
an XRef *only* via AcadExternalReference instead of thru the Block object.&lt;BR /&gt;
&lt;BR /&gt;
Give this a shot:&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
&lt;BR /&gt;
Public Sub Test()&lt;BR /&gt;
  Dim XRefs As New Collection&lt;BR /&gt;
  Set XRefs = GetXRefs&lt;BR /&gt;
&lt;BR /&gt;
  Dim XRef As AcadExternalReference&lt;BR /&gt;
  Dim ynInserted As Boolean&lt;BR /&gt;
  Dim i As Integer&lt;BR /&gt;
&lt;BR /&gt;
  For i = 1 To XRefs.Count&lt;BR /&gt;
    Set XRef = XRefs(i)&lt;BR /&gt;
    ynInserted = IsInserted(XRef)&lt;BR /&gt;
    Debug.Print _&lt;BR /&gt;
      "XRef name: " &amp;amp; XRef.Name &amp;amp; _&lt;BR /&gt;
      vbCrLf &amp;amp; "XRef path: " &amp;amp; XRef.Path&lt;BR /&gt;
    If ynInserted Then&lt;BR /&gt;
      Debug.Print _&lt;BR /&gt;
        "Inserted at: " &amp;amp; _&lt;BR /&gt;
        CStr(XRef.InsertionPoint(0)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
        CStr(XRef.InsertionPoint(1)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
        CStr(XRef.InsertionPoint(2)) &amp;amp; _&lt;BR /&gt;
        vbCrLf &amp;amp; "Scale factor: " &amp;amp; XRef.XScaleFactor&lt;BR /&gt;
    End If&lt;BR /&gt;
  Next i&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
Private Function IsInserted(Block As AcadExternalReference) As Boolean&lt;BR /&gt;
  Dim BlockOwner As Long&lt;BR /&gt;
  BlockOwner = Block.OwnerID&lt;BR /&gt;
&lt;BR /&gt;
  If BlockOwner = ThisDrawing.ModelSpace.ObjectID Then&lt;BR /&gt;
    IsInserted = True&lt;BR /&gt;
    Exit Function&lt;BR /&gt;
  End If&lt;BR /&gt;
&lt;BR /&gt;
  Dim ThisLayout As AcadLayout&lt;BR /&gt;
  For Each ThisLayout In ThisDrawing.Layouts&lt;BR /&gt;
    If BlockOwner = ThisLayout.ObjectID Then&lt;BR /&gt;
      IsInserted = True&lt;BR /&gt;
      Exit Function&lt;BR /&gt;
    End If&lt;BR /&gt;
  Next ThisLayout&lt;BR /&gt;
End Function&lt;BR /&gt;
&lt;BR /&gt;
Private Function GetXRefs() As Collection&lt;BR /&gt;
  Dim ThisBlock As AcadBlock&lt;BR /&gt;
  Dim ThisObject As AcadEntity&lt;BR /&gt;
  Dim AnXRef As AcadExternalReference&lt;BR /&gt;
  Dim Result As New Collection&lt;BR /&gt;
  Dim i As Integer&lt;BR /&gt;
  For Each ThisBlock In ThisDrawing.Blocks&lt;BR /&gt;
    For Each ThisObject In ThisBlock&lt;BR /&gt;
      If TypeOf ThisObject Is AcadExternalReference Then&lt;BR /&gt;
        Set AnXRef = ThisObject&lt;BR /&gt;
        Result.Add AnXRef, CStr(i)&lt;BR /&gt;
        i = i + 1&lt;BR /&gt;
      End If&lt;BR /&gt;
    Next ThisObject&lt;BR /&gt;
  Next ThisBlock&lt;BR /&gt;
  Set GetXRefs = Result&lt;BR /&gt;
  Set Result = Nothing&lt;BR /&gt;
End Function&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Graeme Hyslop" &lt;GHYSLOP&gt; wrote in message&lt;BR /&gt;
news:71CFADE38D1632CB3837ED32C52D9F2F@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| I''m new to VBA so excuse me for all the bad programming in this routine.&lt;BR /&gt;
| I'm trying to get it to tell me what xref's and nested xref's are in a&lt;BR /&gt;
| drawing and give their file path, insertion point and scale.&lt;BR /&gt;
| I can get this information for the main xref's but I can only seem to get&lt;BR /&gt;
| the name for the nested xrefs.&lt;BR /&gt;
| I cant seem to get my head round the difference between a block and a&lt;BR /&gt;
| blockreference and why I can can only get certain properties for each one.&lt;BR /&gt;
|&lt;BR /&gt;
| Thanks&lt;BR /&gt;
|&lt;BR /&gt;
| Graeme&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
| Option Explicit&lt;BR /&gt;
|&lt;BR /&gt;
| Public Sub QDA_list()&lt;BR /&gt;
| On Error Resume Next&lt;BR /&gt;
| Dim XrfObj As AcadBlock&lt;BR /&gt;
| Dim XrfRef As AcadBlockReference&lt;BR /&gt;
| Dim Xrfnme As String&lt;BR /&gt;
| Dim XrfInsPt As Variant&lt;BR /&gt;
| Dim XrfScle As Variant&lt;BR /&gt;
| Dim XrfPath As String&lt;BR /&gt;
| Dim i As Integer&lt;BR /&gt;
| Dim Count As Integer&lt;BR /&gt;
|&lt;BR /&gt;
|     For i = 0 To Count + 1&lt;BR /&gt;
|     For Each XrfObj In ThisDrawing.Blocks&lt;BR /&gt;
|     Set XrfRef = XrfObj.Item(i)&lt;BR /&gt;
|         If XrfObj.IsXRef Then&lt;BR /&gt;
|             Xrfnme = XrfObj.Name&lt;BR /&gt;
|                 'If Xrfnme = "" Then&lt;BR /&gt;
|                 'MsgBox "there are no xrefs in this drawing"&lt;BR /&gt;
|             XrfInsPt = XrfRef.InsertionPoint&lt;BR /&gt;
|             XrfScle = XrfRef.XScaleFactor&lt;BR /&gt;
|             XrfPath = XrfRef.Path&lt;BR /&gt;
|             MsgBox "The xrefs attached include " &amp;amp; Xrfnme&lt;BR /&gt;
|             MsgBox "The xref path is " &amp;amp; XrfPath&lt;BR /&gt;
|             MsgBox "The xref scale is " &amp;amp; XrfScle&lt;BR /&gt;
|             MsgBox "The xrefs are at " &amp;amp; XrfInsPt(0) &amp;amp; ", " &amp;amp; XrfInsPt(1)&lt;BR /&gt;
&amp;amp;&lt;BR /&gt;
| ", " &amp;amp; XrfInsPt(2)&lt;BR /&gt;
|         End If&lt;BR /&gt;
|     Next&lt;BR /&gt;
|     Next i&lt;BR /&gt;
| End Sub&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;/GHYSLOP&gt;</description>
      <pubDate>Fri, 25 Jul 2003 10:33:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331482#M90054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T10:33:07Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331483#M90055</link>
      <description>Thank you Robert that worked almost perfect. To start with it listed the&lt;BR /&gt;
name and path of them all, but only the scale and insertion point of the&lt;BR /&gt;
first xref. By commenting out the If ynInserted ... line it worked&lt;BR /&gt;
perfectly. Is the If ynInserted ... line important for something ?&lt;BR /&gt;
&lt;BR /&gt;
Graeme&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Option Explicit&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Public Sub Test()&lt;BR /&gt;
&amp;gt;   Dim XRefs As New Collection&lt;BR /&gt;
&amp;gt;   Set XRefs = GetXRefs&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;   Dim XRef As AcadExternalReference&lt;BR /&gt;
&amp;gt;   Dim ynInserted As Boolean&lt;BR /&gt;
&amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;   For i = 1 To XRefs.Count&lt;BR /&gt;
&amp;gt;     Set XRef = XRefs(i)&lt;BR /&gt;
&amp;gt;     ynInserted = IsInserted(XRef)&lt;BR /&gt;
&amp;gt;     Debug.Print _&lt;BR /&gt;
&amp;gt;       "XRef name: " &amp;amp; XRef.Name &amp;amp; _&lt;BR /&gt;
&amp;gt;       vbCrLf &amp;amp; "XRef path: " &amp;amp; XRef.Path&lt;BR /&gt;
&amp;gt;     If ynInserted Then&lt;BR /&gt;
&amp;gt;       Debug.Print _&lt;BR /&gt;
&amp;gt;         "Inserted at: " &amp;amp; _&lt;BR /&gt;
&amp;gt;         CStr(XRef.InsertionPoint(0)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt;         CStr(XRef.InsertionPoint(1)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt;         CStr(XRef.InsertionPoint(2)) &amp;amp; _&lt;BR /&gt;
&amp;gt;         vbCrLf &amp;amp; "Scale factor: " &amp;amp; XRef.XScaleFactor&lt;BR /&gt;
&amp;gt;     End If&lt;BR /&gt;
&amp;gt;   Next i&lt;BR /&gt;
&amp;gt; End Sub&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Private Function IsInserted(Block As AcadExternalReference) As Boolean&lt;BR /&gt;
&amp;gt;   Dim BlockOwner As Long&lt;BR /&gt;
&amp;gt;   BlockOwner = Block.OwnerID&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;   If BlockOwner = ThisDrawing.ModelSpace.ObjectID Then&lt;BR /&gt;
&amp;gt;     IsInserted = True&lt;BR /&gt;
&amp;gt;     Exit Function&lt;BR /&gt;
&amp;gt;   End If&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;   Dim ThisLayout As AcadLayout&lt;BR /&gt;
&amp;gt;   For Each ThisLayout In ThisDrawing.Layouts&lt;BR /&gt;
&amp;gt;     If BlockOwner = ThisLayout.ObjectID Then&lt;BR /&gt;
&amp;gt;       IsInserted = True&lt;BR /&gt;
&amp;gt;       Exit Function&lt;BR /&gt;
&amp;gt;     End If&lt;BR /&gt;
&amp;gt;   Next ThisLayout&lt;BR /&gt;
&amp;gt; End Function&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Private Function GetXRefs() As Collection&lt;BR /&gt;
&amp;gt;   Dim ThisBlock As AcadBlock&lt;BR /&gt;
&amp;gt;   Dim ThisObject As AcadEntity&lt;BR /&gt;
&amp;gt;   Dim AnXRef As AcadExternalReference&lt;BR /&gt;
&amp;gt;   Dim Result As New Collection&lt;BR /&gt;
&amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt;   For Each ThisBlock In ThisDrawing.Blocks&lt;BR /&gt;
&amp;gt;     For Each ThisObject In ThisBlock&lt;BR /&gt;
&amp;gt;       If TypeOf ThisObject Is AcadExternalReference Then&lt;BR /&gt;
&amp;gt;         Set AnXRef = ThisObject&lt;BR /&gt;
&amp;gt;         Result.Add AnXRef, CStr(i)&lt;BR /&gt;
&amp;gt;         i = i + 1&lt;BR /&gt;
&amp;gt;       End If&lt;BR /&gt;
&amp;gt;     Next ThisObject&lt;BR /&gt;
&amp;gt;   Next ThisBlock&lt;BR /&gt;
&amp;gt;   Set GetXRefs = Result&lt;BR /&gt;
&amp;gt;   Set Result = Nothing&lt;BR /&gt;
&amp;gt; End Function&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; -- &lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Fri, 25 Jul 2003 11:36:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331483#M90055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T11:36:01Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331484#M90056</link>
      <description>Well, a nested XRef's insertion point only make sense in the context of the&lt;BR /&gt;
parent XRef that it is in. I deemed it unneeded to report the insertion&lt;BR /&gt;
point of nested XRefs, because of what use would it be?&lt;BR /&gt;
&lt;BR /&gt;
For instance:&lt;BR /&gt;
&lt;BR /&gt;
XRef name: Diff&lt;BR /&gt;
XRef path: C:\Temp\Diff.dwg&lt;BR /&gt;
Inserted at: 12,12,0&lt;BR /&gt;
Scale factor: 1&lt;BR /&gt;
&lt;BR /&gt;
XRef name: Drawing2&lt;BR /&gt;
XRef path: C:\Temp\Drawing2.dwg&lt;BR /&gt;
Inserted at: 9.63501133246334,30.3961543419182,0&lt;BR /&gt;
Scale factor: 1&lt;BR /&gt;
&lt;BR /&gt;
XRef name: X-Diff&lt;BR /&gt;
XRef path: C:\Temp\X-Diff.dwg&lt;BR /&gt;
&lt;BR /&gt;
In the above, there are only two XRefs actually placed in the drawing (in&lt;BR /&gt;
modelspace). The 3rd one, X-Diff, is a nested XRef in Diff.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Graeme Hyslop" &lt;GHYSLOP&gt; wrote in message&lt;BR /&gt;
news:D57B5414773E384648F1BFC3D90EBE77@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| Thank you Robert that worked almost perfect. To start with it listed the&lt;BR /&gt;
| name and path of them all, but only the scale and insertion point of the&lt;BR /&gt;
| first xref. By commenting out the If ynInserted ... line it worked&lt;BR /&gt;
| perfectly. Is the If ynInserted ... line important for something ?&lt;BR /&gt;
|&lt;BR /&gt;
| Graeme&lt;BR /&gt;
|&lt;BR /&gt;
| &amp;gt; Option Explicit&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; Public Sub Test()&lt;BR /&gt;
| &amp;gt;   Dim XRefs As New Collection&lt;BR /&gt;
| &amp;gt;   Set XRefs = GetXRefs&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;   Dim XRef As AcadExternalReference&lt;BR /&gt;
| &amp;gt;   Dim ynInserted As Boolean&lt;BR /&gt;
| &amp;gt;   Dim i As Integer&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;   For i = 1 To XRefs.Count&lt;BR /&gt;
| &amp;gt;     Set XRef = XRefs(i)&lt;BR /&gt;
| &amp;gt;     ynInserted = IsInserted(XRef)&lt;BR /&gt;
| &amp;gt;     Debug.Print _&lt;BR /&gt;
| &amp;gt;       "XRef name: " &amp;amp; XRef.Name &amp;amp; _&lt;BR /&gt;
| &amp;gt;       vbCrLf &amp;amp; "XRef path: " &amp;amp; XRef.Path&lt;BR /&gt;
| &amp;gt;     If ynInserted Then&lt;BR /&gt;
| &amp;gt;       Debug.Print _&lt;BR /&gt;
| &amp;gt;         "Inserted at: " &amp;amp; _&lt;BR /&gt;
| &amp;gt;         CStr(XRef.InsertionPoint(0)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
| &amp;gt;         CStr(XRef.InsertionPoint(1)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
| &amp;gt;         CStr(XRef.InsertionPoint(2)) &amp;amp; _&lt;BR /&gt;
| &amp;gt;         vbCrLf &amp;amp; "Scale factor: " &amp;amp; XRef.XScaleFactor&lt;BR /&gt;
| &amp;gt;     End If&lt;BR /&gt;
| &amp;gt;   Next i&lt;BR /&gt;
| &amp;gt; End Sub&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; Private Function IsInserted(Block As AcadExternalReference) As Boolean&lt;BR /&gt;
| &amp;gt;   Dim BlockOwner As Long&lt;BR /&gt;
| &amp;gt;   BlockOwner = Block.OwnerID&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;   If BlockOwner = ThisDrawing.ModelSpace.ObjectID Then&lt;BR /&gt;
| &amp;gt;     IsInserted = True&lt;BR /&gt;
| &amp;gt;     Exit Function&lt;BR /&gt;
| &amp;gt;   End If&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;   Dim ThisLayout As AcadLayout&lt;BR /&gt;
| &amp;gt;   For Each ThisLayout In ThisDrawing.Layouts&lt;BR /&gt;
| &amp;gt;     If BlockOwner = ThisLayout.ObjectID Then&lt;BR /&gt;
| &amp;gt;       IsInserted = True&lt;BR /&gt;
| &amp;gt;       Exit Function&lt;BR /&gt;
| &amp;gt;     End If&lt;BR /&gt;
| &amp;gt;   Next ThisLayout&lt;BR /&gt;
| &amp;gt; End Function&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; Private Function GetXRefs() As Collection&lt;BR /&gt;
| &amp;gt;   Dim ThisBlock As AcadBlock&lt;BR /&gt;
| &amp;gt;   Dim ThisObject As AcadEntity&lt;BR /&gt;
| &amp;gt;   Dim AnXRef As AcadExternalReference&lt;BR /&gt;
| &amp;gt;   Dim Result As New Collection&lt;BR /&gt;
| &amp;gt;   Dim i As Integer&lt;BR /&gt;
| &amp;gt;   For Each ThisBlock In ThisDrawing.Blocks&lt;BR /&gt;
| &amp;gt;     For Each ThisObject In ThisBlock&lt;BR /&gt;
| &amp;gt;       If TypeOf ThisObject Is AcadExternalReference Then&lt;BR /&gt;
| &amp;gt;         Set AnXRef = ThisObject&lt;BR /&gt;
| &amp;gt;         Result.Add AnXRef, CStr(i)&lt;BR /&gt;
| &amp;gt;         i = i + 1&lt;BR /&gt;
| &amp;gt;       End If&lt;BR /&gt;
| &amp;gt;     Next ThisObject&lt;BR /&gt;
| &amp;gt;   Next ThisBlock&lt;BR /&gt;
| &amp;gt;   Set GetXRefs = Result&lt;BR /&gt;
| &amp;gt;   Set Result = Nothing&lt;BR /&gt;
| &amp;gt; End Function&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; -- &lt;BR /&gt;
| &amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
| &amp;gt; www.AcadX.com&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;/GHYSLOP&gt;</description>
      <pubDate>Fri, 25 Jul 2003 12:05:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331484#M90056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T12:05:20Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331485#M90057</link>
      <description>Well, my top secret plan is to get all that information, then detach all the&lt;BR /&gt;
xrefs and then insert them all into the one drawing as blocks. Like bind but&lt;BR /&gt;
without all the hassle of not being able to bind nested xrefs. I'm sure&lt;BR /&gt;
someone has probably already done it but I was trying to figure it out&lt;BR /&gt;
myself.&lt;BR /&gt;
&lt;BR /&gt;
Graeme&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:594ADA07AB214F89E458D324E31CCEF8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Well, a nested XRef's insertion point only make sense in the context of&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; parent XRef that it is in. I deemed it unneeded to report the insertion&lt;BR /&gt;
&amp;gt; point of nested XRefs, because of what use would it be?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For instance:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: Diff&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\Diff.dwg&lt;BR /&gt;
&amp;gt; Inserted at: 12,12,0&lt;BR /&gt;
&amp;gt; Scale factor: 1&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: Drawing2&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\Drawing2.dwg&lt;BR /&gt;
&amp;gt; Inserted at: 9.63501133246334,30.3961543419182,0&lt;BR /&gt;
&amp;gt; Scale factor: 1&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: X-Diff&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\X-Diff.dwg&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In the above, there are only two XRefs actually placed in the drawing (in&lt;BR /&gt;
&amp;gt; modelspace). The 3rd one, X-Diff, is a nested XRef in Diff.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; -- &lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Graeme Hyslop" &lt;GHYSLOP&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:D57B5414773E384648F1BFC3D90EBE77@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; | Thank you Robert that worked almost perfect. To start with it listed the&lt;BR /&gt;
&amp;gt; | name and path of them all, but only the scale and insertion point of the&lt;BR /&gt;
&amp;gt; | first xref. By commenting out the If ynInserted ... line it worked&lt;BR /&gt;
&amp;gt; | perfectly. Is the If ynInserted ... line important for something ?&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; | Graeme&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; | &amp;gt; Option Explicit&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Public Sub Test()&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim XRefs As New Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set XRefs = GetXRefs&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim XRef As AcadExternalReference&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ynInserted As Boolean&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   For i = 1 To XRefs.Count&lt;BR /&gt;
&amp;gt; | &amp;gt;     Set XRef = XRefs(i)&lt;BR /&gt;
&amp;gt; | &amp;gt;     ynInserted = IsInserted(XRef)&lt;BR /&gt;
&amp;gt; | &amp;gt;     Debug.Print _&lt;BR /&gt;
&amp;gt; | &amp;gt;       "XRef name: " &amp;amp; XRef.Name &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;       vbCrLf &amp;amp; "XRef path: " &amp;amp; XRef.Path&lt;BR /&gt;
&amp;gt; | &amp;gt;     If ynInserted Then&lt;BR /&gt;
&amp;gt; | &amp;gt;       Debug.Print _&lt;BR /&gt;
&amp;gt; | &amp;gt;         "Inserted at: " &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(0)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(1)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(2)) &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         vbCrLf &amp;amp; "Scale factor: " &amp;amp; XRef.XScaleFactor&lt;BR /&gt;
&amp;gt; | &amp;gt;     End If&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next i&lt;BR /&gt;
&amp;gt; | &amp;gt; End Sub&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Private Function IsInserted(Block As AcadExternalReference) As Boolean&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim BlockOwner As Long&lt;BR /&gt;
&amp;gt; | &amp;gt;   BlockOwner = Block.OwnerID&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   If BlockOwner = ThisDrawing.ModelSpace.ObjectID Then&lt;BR /&gt;
&amp;gt; | &amp;gt;     IsInserted = True&lt;BR /&gt;
&amp;gt; | &amp;gt;     Exit Function&lt;BR /&gt;
&amp;gt; | &amp;gt;   End If&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisLayout As AcadLayout&lt;BR /&gt;
&amp;gt; | &amp;gt;   For Each ThisLayout In ThisDrawing.Layouts&lt;BR /&gt;
&amp;gt; | &amp;gt;     If BlockOwner = ThisLayout.ObjectID Then&lt;BR /&gt;
&amp;gt; | &amp;gt;       IsInserted = True&lt;BR /&gt;
&amp;gt; | &amp;gt;       Exit Function&lt;BR /&gt;
&amp;gt; | &amp;gt;     End If&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next ThisLayout&lt;BR /&gt;
&amp;gt; | &amp;gt; End Function&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Private Function GetXRefs() As Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisBlock As AcadBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisObject As AcadEntity&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim AnXRef As AcadExternalReference&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim Result As New Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt; | &amp;gt;   For Each ThisBlock In ThisDrawing.Blocks&lt;BR /&gt;
&amp;gt; | &amp;gt;     For Each ThisObject In ThisBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;       If TypeOf ThisObject Is AcadExternalReference Then&lt;BR /&gt;
&amp;gt; | &amp;gt;         Set AnXRef = ThisObject&lt;BR /&gt;
&amp;gt; | &amp;gt;         Result.Add AnXRef, CStr(i)&lt;BR /&gt;
&amp;gt; | &amp;gt;         i = i + 1&lt;BR /&gt;
&amp;gt; | &amp;gt;       End If&lt;BR /&gt;
&amp;gt; | &amp;gt;     Next ThisObject&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next ThisBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set GetXRefs = Result&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set Result = Nothing&lt;BR /&gt;
&amp;gt; | &amp;gt; End Function&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; -- &lt;BR /&gt;
&amp;gt; | &amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; | &amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/GHYSLOP&gt;&lt;/NOT.ROBERTB&gt;</description>
      <pubDate>Fri, 25 Jul 2003 12:15:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331485#M90057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T12:15:21Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331486#M90058</link>
      <description>Oh I see what you mean. So if I wanted to insert the nested xrefs as blocks&lt;BR /&gt;
after detaching the whole thing and purging I'd have to do a calculation&lt;BR /&gt;
relative to the parent xref insertion point and the parent xref scale ?&lt;BR /&gt;
&lt;BR /&gt;
Graeme&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:594ADA07AB214F89E458D324E31CCEF8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Well, a nested XRef's insertion point only make sense in the context of&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; parent XRef that it is in. I deemed it unneeded to report the insertion&lt;BR /&gt;
&amp;gt; point of nested XRefs, because of what use would it be?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For instance:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: Diff&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\Diff.dwg&lt;BR /&gt;
&amp;gt; Inserted at: 12,12,0&lt;BR /&gt;
&amp;gt; Scale factor: 1&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: Drawing2&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\Drawing2.dwg&lt;BR /&gt;
&amp;gt; Inserted at: 9.63501133246334,30.3961543419182,0&lt;BR /&gt;
&amp;gt; Scale factor: 1&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; XRef name: X-Diff&lt;BR /&gt;
&amp;gt; XRef path: C:\Temp\X-Diff.dwg&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In the above, there are only two XRefs actually placed in the drawing (in&lt;BR /&gt;
&amp;gt; modelspace). The 3rd one, X-Diff, is a nested XRef in Diff.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; -- &lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Graeme Hyslop" &lt;GHYSLOP&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:D57B5414773E384648F1BFC3D90EBE77@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; | Thank you Robert that worked almost perfect. To start with it listed the&lt;BR /&gt;
&amp;gt; | name and path of them all, but only the scale and insertion point of the&lt;BR /&gt;
&amp;gt; | first xref. By commenting out the If ynInserted ... line it worked&lt;BR /&gt;
&amp;gt; | perfectly. Is the If ynInserted ... line important for something ?&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; | Graeme&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; | &amp;gt; Option Explicit&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Public Sub Test()&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim XRefs As New Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set XRefs = GetXRefs&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim XRef As AcadExternalReference&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ynInserted As Boolean&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   For i = 1 To XRefs.Count&lt;BR /&gt;
&amp;gt; | &amp;gt;     Set XRef = XRefs(i)&lt;BR /&gt;
&amp;gt; | &amp;gt;     ynInserted = IsInserted(XRef)&lt;BR /&gt;
&amp;gt; | &amp;gt;     Debug.Print _&lt;BR /&gt;
&amp;gt; | &amp;gt;       "XRef name: " &amp;amp; XRef.Name &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;       vbCrLf &amp;amp; "XRef path: " &amp;amp; XRef.Path&lt;BR /&gt;
&amp;gt; | &amp;gt;     If ynInserted Then&lt;BR /&gt;
&amp;gt; | &amp;gt;       Debug.Print _&lt;BR /&gt;
&amp;gt; | &amp;gt;         "Inserted at: " &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(0)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(1)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(2)) &amp;amp; _&lt;BR /&gt;
&amp;gt; | &amp;gt;         vbCrLf &amp;amp; "Scale factor: " &amp;amp; XRef.XScaleFactor&lt;BR /&gt;
&amp;gt; | &amp;gt;     End If&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next i&lt;BR /&gt;
&amp;gt; | &amp;gt; End Sub&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Private Function IsInserted(Block As AcadExternalReference) As Boolean&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim BlockOwner As Long&lt;BR /&gt;
&amp;gt; | &amp;gt;   BlockOwner = Block.OwnerID&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   If BlockOwner = ThisDrawing.ModelSpace.ObjectID Then&lt;BR /&gt;
&amp;gt; | &amp;gt;     IsInserted = True&lt;BR /&gt;
&amp;gt; | &amp;gt;     Exit Function&lt;BR /&gt;
&amp;gt; | &amp;gt;   End If&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisLayout As AcadLayout&lt;BR /&gt;
&amp;gt; | &amp;gt;   For Each ThisLayout In ThisDrawing.Layouts&lt;BR /&gt;
&amp;gt; | &amp;gt;     If BlockOwner = ThisLayout.ObjectID Then&lt;BR /&gt;
&amp;gt; | &amp;gt;       IsInserted = True&lt;BR /&gt;
&amp;gt; | &amp;gt;       Exit Function&lt;BR /&gt;
&amp;gt; | &amp;gt;     End If&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next ThisLayout&lt;BR /&gt;
&amp;gt; | &amp;gt; End Function&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; Private Function GetXRefs() As Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisBlock As AcadBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim ThisObject As AcadEntity&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim AnXRef As AcadExternalReference&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim Result As New Collection&lt;BR /&gt;
&amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
&amp;gt; | &amp;gt;   For Each ThisBlock In ThisDrawing.Blocks&lt;BR /&gt;
&amp;gt; | &amp;gt;     For Each ThisObject In ThisBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;       If TypeOf ThisObject Is AcadExternalReference Then&lt;BR /&gt;
&amp;gt; | &amp;gt;         Set AnXRef = ThisObject&lt;BR /&gt;
&amp;gt; | &amp;gt;         Result.Add AnXRef, CStr(i)&lt;BR /&gt;
&amp;gt; | &amp;gt;         i = i + 1&lt;BR /&gt;
&amp;gt; | &amp;gt;       End If&lt;BR /&gt;
&amp;gt; | &amp;gt;     Next ThisObject&lt;BR /&gt;
&amp;gt; | &amp;gt;   Next ThisBlock&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set GetXRefs = Result&lt;BR /&gt;
&amp;gt; | &amp;gt;   Set Result = Nothing&lt;BR /&gt;
&amp;gt; | &amp;gt; End Function&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt; -- &lt;BR /&gt;
&amp;gt; | &amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; | &amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; | &amp;gt;&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt; |&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/GHYSLOP&gt;&lt;/NOT.ROBERTB&gt;</description>
      <pubDate>Fri, 25 Jul 2003 12:26:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331486#M90058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T12:26:24Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331487#M90059</link>
      <description>OK forget what I said about binding drawings. I'm feeling kinda stupid now.&lt;BR /&gt;
For some reason I thought that xrefs with nested xrefs could not be bound&lt;BR /&gt;
but I just discovered that they can. But anyway, listing the xrefs is still&lt;BR /&gt;
gonna be useful !</description>
      <pubDate>Sat, 26 Jul 2003 12:07:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331487#M90059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-26T12:07:17Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331488#M90060</link>
      <description>Yes.&lt;BR /&gt;
&lt;BR /&gt;
However... binding XRefs that contain resolved XRefs pose no problem. Are&lt;BR /&gt;
you trying to bind XRefs that contain *unresolved* or unloaded nested XRefs?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Graeme Hyslop" &lt;GHYSLOP&gt; wrote in message&lt;BR /&gt;
news:874DDA89468404D7AB57F43221A986CC@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| Oh I see what you mean. So if I wanted to insert the nested xrefs as&lt;BR /&gt;
blocks&lt;BR /&gt;
| after detaching the whole thing and purging I'd have to do a calculation&lt;BR /&gt;
| relative to the parent xref insertion point and the parent xref scale ?&lt;BR /&gt;
|&lt;BR /&gt;
| Graeme&lt;BR /&gt;
| "R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
| news:594ADA07AB214F89E458D324E31CCEF8@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| &amp;gt; Well, a nested XRef's insertion point only make sense in the context of&lt;BR /&gt;
| the&lt;BR /&gt;
| &amp;gt; parent XRef that it is in. I deemed it unneeded to report the insertion&lt;BR /&gt;
| &amp;gt; point of nested XRefs, because of what use would it be?&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; For instance:&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; XRef name: Diff&lt;BR /&gt;
| &amp;gt; XRef path: C:\Temp\Diff.dwg&lt;BR /&gt;
| &amp;gt; Inserted at: 12,12,0&lt;BR /&gt;
| &amp;gt; Scale factor: 1&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; XRef name: Drawing2&lt;BR /&gt;
| &amp;gt; XRef path: C:\Temp\Drawing2.dwg&lt;BR /&gt;
| &amp;gt; Inserted at: 9.63501133246334,30.3961543419182,0&lt;BR /&gt;
| &amp;gt; Scale factor: 1&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; XRef name: X-Diff&lt;BR /&gt;
| &amp;gt; XRef path: C:\Temp\X-Diff.dwg&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; In the above, there are only two XRefs actually placed in the drawing&lt;BR /&gt;
(in&lt;BR /&gt;
| &amp;gt; modelspace). The 3rd one, X-Diff, is a nested XRef in Diff.&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; -- &lt;BR /&gt;
| &amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
| &amp;gt; www.AcadX.com&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; "Graeme Hyslop" &lt;GHYSLOP&gt; wrote in message&lt;BR /&gt;
| &amp;gt; news:D57B5414773E384648F1BFC3D90EBE77@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| &amp;gt; | Thank you Robert that worked almost perfect. To start with it listed&lt;BR /&gt;
the&lt;BR /&gt;
| &amp;gt; | name and path of them all, but only the scale and insertion point of&lt;BR /&gt;
the&lt;BR /&gt;
| &amp;gt; | first xref. By commenting out the If ynInserted ... line it worked&lt;BR /&gt;
| &amp;gt; | perfectly. Is the If ynInserted ... line important for something ?&lt;BR /&gt;
| &amp;gt; |&lt;BR /&gt;
| &amp;gt; | Graeme&lt;BR /&gt;
| &amp;gt; |&lt;BR /&gt;
| &amp;gt; | &amp;gt; Option Explicit&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt; Public Sub Test()&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim XRefs As New Collection&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Set XRefs = GetXRefs&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim XRef As AcadExternalReference&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim ynInserted As Boolean&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt;   For i = 1 To XRefs.Count&lt;BR /&gt;
| &amp;gt; | &amp;gt;     Set XRef = XRefs(i)&lt;BR /&gt;
| &amp;gt; | &amp;gt;     ynInserted = IsInserted(XRef)&lt;BR /&gt;
| &amp;gt; | &amp;gt;     Debug.Print _&lt;BR /&gt;
| &amp;gt; | &amp;gt;       "XRef name: " &amp;amp; XRef.Name &amp;amp; _&lt;BR /&gt;
| &amp;gt; | &amp;gt;       vbCrLf &amp;amp; "XRef path: " &amp;amp; XRef.Path&lt;BR /&gt;
| &amp;gt; | &amp;gt;     If ynInserted Then&lt;BR /&gt;
| &amp;gt; | &amp;gt;       Debug.Print _&lt;BR /&gt;
| &amp;gt; | &amp;gt;         "Inserted at: " &amp;amp; _&lt;BR /&gt;
| &amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(0)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
| &amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(1)) &amp;amp; "," &amp;amp; _&lt;BR /&gt;
| &amp;gt; | &amp;gt;         CStr(XRef.InsertionPoint(2)) &amp;amp; _&lt;BR /&gt;
| &amp;gt; | &amp;gt;         vbCrLf &amp;amp; "Scale factor: " &amp;amp; XRef.XScaleFactor&lt;BR /&gt;
| &amp;gt; | &amp;gt;     End If&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Next i&lt;BR /&gt;
| &amp;gt; | &amp;gt; End Sub&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt; Private Function IsInserted(Block As AcadExternalReference) As&lt;BR /&gt;
Boolean&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim BlockOwner As Long&lt;BR /&gt;
| &amp;gt; | &amp;gt;   BlockOwner = Block.OwnerID&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt;   If BlockOwner = ThisDrawing.ModelSpace.ObjectID Then&lt;BR /&gt;
| &amp;gt; | &amp;gt;     IsInserted = True&lt;BR /&gt;
| &amp;gt; | &amp;gt;     Exit Function&lt;BR /&gt;
| &amp;gt; | &amp;gt;   End If&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim ThisLayout As AcadLayout&lt;BR /&gt;
| &amp;gt; | &amp;gt;   For Each ThisLayout In ThisDrawing.Layouts&lt;BR /&gt;
| &amp;gt; | &amp;gt;     If BlockOwner = ThisLayout.ObjectID Then&lt;BR /&gt;
| &amp;gt; | &amp;gt;       IsInserted = True&lt;BR /&gt;
| &amp;gt; | &amp;gt;       Exit Function&lt;BR /&gt;
| &amp;gt; | &amp;gt;     End If&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Next ThisLayout&lt;BR /&gt;
| &amp;gt; | &amp;gt; End Function&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt; Private Function GetXRefs() As Collection&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim ThisBlock As AcadBlock&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim ThisObject As AcadEntity&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim AnXRef As AcadExternalReference&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim Result As New Collection&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Dim i As Integer&lt;BR /&gt;
| &amp;gt; | &amp;gt;   For Each ThisBlock In ThisDrawing.Blocks&lt;BR /&gt;
| &amp;gt; | &amp;gt;     For Each ThisObject In ThisBlock&lt;BR /&gt;
| &amp;gt; | &amp;gt;       If TypeOf ThisObject Is AcadExternalReference Then&lt;BR /&gt;
| &amp;gt; | &amp;gt;         Set AnXRef = ThisObject&lt;BR /&gt;
| &amp;gt; | &amp;gt;         Result.Add AnXRef, CStr(i)&lt;BR /&gt;
| &amp;gt; | &amp;gt;         i = i + 1&lt;BR /&gt;
| &amp;gt; | &amp;gt;       End If&lt;BR /&gt;
| &amp;gt; | &amp;gt;     Next ThisObject&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Next ThisBlock&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Set GetXRefs = Result&lt;BR /&gt;
| &amp;gt; | &amp;gt;   Set Result = Nothing&lt;BR /&gt;
| &amp;gt; | &amp;gt; End Function&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt; -- &lt;BR /&gt;
| &amp;gt; | &amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
| &amp;gt; | &amp;gt; www.AcadX.com&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; | &amp;gt;&lt;BR /&gt;
| &amp;gt; |&lt;BR /&gt;
| &amp;gt; |&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;/GHYSLOP&gt;&lt;/NOT.ROBERTB&gt;&lt;/GHYSLOP&gt;</description>
      <pubDate>Sat, 26 Jul 2003 12:10:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331488#M90060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-26T12:10:10Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331489#M90061</link>
      <description>Too late, I didn't see your 3rd post! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Graeme" &lt;JIMMY-HYSLOP&gt; wrote in message&lt;BR /&gt;
news:FCB9794DF889294F48FDEDF165C2A502@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| OK forget what I said about binding drawings. I'm feeling kinda stupid&lt;BR /&gt;
now.&lt;BR /&gt;
| For some reason I thought that xrefs with nested xrefs could not be bound&lt;BR /&gt;
| but I just discovered that they can. But anyway, listing the xrefs is&lt;BR /&gt;
still&lt;BR /&gt;
| gonna be useful !&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;/JIMMY-HYSLOP&gt;</description>
      <pubDate>Sat, 26 Jul 2003 12:11:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331489#M90061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-26T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331490#M90062</link>
      <description>Yeah, we have to bind some drawings on a project and the drafter was having&lt;BR /&gt;
a problem with it. It must have been that there are unresolved objects. It&lt;BR /&gt;
could also be that the engineers stamp was unloaded instead of detached.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help&lt;BR /&gt;
&lt;BR /&gt;
Graeme&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Yes.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; However... binding XRefs that contain resolved XRefs pose no problem. Are&lt;BR /&gt;
&amp;gt; you trying to bind XRefs that contain *unresolved* or unloaded nested&lt;BR /&gt;
XRefs?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; -- &lt;BR /&gt;
&amp;gt; R. Robert Bell, MCSE&lt;BR /&gt;
&amp;gt; www.AcadX.com&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Sat, 26 Jul 2003 13:49:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/xref-list/m-p/331490#M90062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-26T13:49:40Z</dc:date>
    </item>
  </channel>
</rss>

