Your code is good and it works fine..
But when I want to find only Direct Children then what to do?
Suppose I have a Drawing Structure like:
When I use XrefGraph xg = mainDb.GetHostDwgXrefGraph(true); in Code then I get all the Files as a node including MasterRoot (say count=6).
If I want to get Only direct Children (here, Root1 and Root2)(means count=2 only), then wha i have to do?
Is it Possible?
Any help will be appreciated.
Thanks in Advance..
Thanks & Regards,
we meet same problem.
we can get the files attachment by Interop.TRANSMITTALLib.dll, but it's contain the pc3 and so on.
Who has the perfect solution?
Please Go through the following link for the Solution:
Hope it helps..
we can get all DWG reference file, but can't find the image(jpg/png/tiff)/PDF format file which attached my xref manager.
so your link's soluton can get the image file name/path?
We tested the code in the new link(http://adndevblog.typepad.com/autocad/2012/06/find
Pls see the attachment of sample drawings with dwg/JPG xref files.