public DicED LoadED(string dicName) { var dicPluginId = GetDicPlugin(false); var dicResId = ExtDicHelper.GetDic(dicPluginId, dicName, false, false); var res = ExtDicHelper.GetDicEd(dicResId); if (res != null) { res.Name = dicName; } return(res); }
private ObjectId GetDicPlugin(bool create) { ObjectId res; var dicNodId = Db.NamedObjectsDictionaryId; var dicPikId = ExtDicHelper.GetDic(dicNodId, dictName, create, false); if (string.IsNullOrEmpty(dictInnerName)) { res = dicPikId; } else { var dicPluginId = ExtDicHelper.GetDic(dicPikId, dictInnerName, create, false); res = dicPluginId; } return(res); }