I'm trying to get just the filename either with or without the .dwg extension for an xref given I already have its reference (BlockReference) and its model space (BlockTableRecord) all open for read; skipping accessing any BlockTable.
Im doing something like this:
So what I want to know is how to get the filename of the xref'ed drawing (i.e. Original_Drawing.dwg).
I'm looking at doing this without opening the referenced drawing as a side database and checking the filename.
I can't debug right now, but is it. myBlockTableRecord.Database.OriginalFileName ???
Maybe this sample help you:
Access a broad range of knowledge to help get the most out of your products and services.