private void Save() { var nod = new DictNOD("InsertBlocksBeside", true); nod.Save((int)Orient, "Orient"); nod.Save(Filter, "Filter"); }
private void saveStartLevels() { try { DictNOD nod = new DictNOD("GP-HosizontalElevations"); nod.Save(curElev, "StartElevation"); nod.Save(stepElev, "StepElevation"); using (var reg = new AcadLib.Registry.RegExt("HosizontalElevations")) { reg.Save("Color", GetColorString(color)); } } catch (System.Exception ex) { Logger.Log.Error(ex, "HorizontalElevationService.saveStartLevels()"); } }
private void SaveToNOD() { var nod = new DictNOD(DicPileName, true); var dicPile = GetExtDic(null); nod.Save(dicPile); //nod.Save(AbsoluteZero, RecAbsoluteZero); //nod.Save(DimPileBeatToCut, RecDimPileBeatToCut); //nod.Save(DimPileCutToRostwerk, RecDimPileCutToRostwerk); }
public void TestSaveExtDataNOD() { deep = 0; var nod = new DictNOD("Test", true); var rec = new DicED(); rec.Name = "Test"; rec.Recs = GetRecs("RecsTest", 5); rec.Inners = GetInners("InnersTest", 3); nod.Save(rec); }
//static Options LoadFromXml() //{ // AcadLib.Files.SerializerXml ser = new AcadLib.Files.SerializerXml(FileXml); // return ser.DeserializeXmlFile<Options>(); //} void SaveToNOD() { var nod = new DictNOD(DictName, true); nod.Save(NormAreaPerPerson, KeyNormAreaPepPerson); nod.Save(NormSchoolPlace, KeyNormSchoolPlace); nod.Save(NormKinderPlace, KeyNormKinderPlace); nod.Save(NormParking, KeyNormParking); nod.Save(NormAreaBKFNPerPerson, KeyNormParkingAreaPerPerson); nod.Save(NormParkingPlaceFor100, KeyNormParkingPlaceFor100); nod.Save(TextStyleItalic, KeyTextStyleItalic); }
public static void SaveDicNOD(this Database db, [NotNull] DicED dic) { var nod = new DictNOD(dic.Name, db); nod.Save(dic); }
private void Save() { var dicNOD = new DictNOD(PileOptions.DicPileName, true); dicNOD.Save(GetExtDic(null)); }