private void Save()
        {
            var nod = new DictNOD("InsertBlocksBeside", true);

            nod.Save((int)Orient, "Orient");
            nod.Save(Filter, "Filter");
        }
示例#2
0
 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()");
     }
 }
示例#3
0
        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);
        }
示例#4
0
        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);
        }
示例#5
0
        //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);
        }
示例#6
0
        public static void SaveDicNOD(this Database db, [NotNull] DicED dic)
        {
            var nod = new DictNOD(dic.Name, db);

            nod.Save(dic);
        }
示例#7
0
        private void Save()
        {
            var dicNOD = new DictNOD(PileOptions.DicPileName, true);

            dicNOD.Save(GetExtDic(null));
        }