I saw this thread when I have the problem. The solution is found out of this disscussion group:
'-----------The key is db.ResolveXrefs, otherwise the Database of the Xref will be Nothing
db.ResolveXrefs(False, False) Dim XrGph As XrefGraph = db.GetHostDwgXrefGraph(True) For i As Integer = 1 To XrGph.NumNodes - 1 Dim XrGphNode As XrefGraphNode = XrGph.GetXrefNode(i) '------- the found path of the Xref is available now dim foundpath as string =XrGphNode.Database.Filename Next
For anyone who has this problem...
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!