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:
Search the Autodesk Knowledge Network for more content.
New: Get an Activation Code
Mac OS X 10.12 Support
Windows 10 Support
Autodesk Online Store Help
Serial Numbers & Product Keys
Installation & Licensing
Online Activation & Registration
Network License Administration