//通过支持文件搜索路径查找文件
string path = HostApplicationServices.Current.FindFile("head.dwg", db, FindFileHint.Default);
//通过支持文件搜索路径查找文件
string path = HostApplicationServices.Current.FindFile("head.dwg", db, FindFileHint.Default);
转载于:https://www.cnblogs.com/swtool/p/SWTOOL_00019.html