Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am missing something obvious. I want to return the name of an Imported (not linked) DWG. The following is just not doing it for me...
foreach (ImportInstance ii in new FilteredElementCollector(pDoc)
.OfClass(typeof(ImportInstance))
.Cast<ImportInstance>()
.Where(i => i.IsLinked == false))
{
ElementId Id = ii.Id;
string name = ii.Name;
string tname = ii.GetType().Name;
______________
Yes, I'm Satoshi.
Solved! Go to Solution.