示例#1
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("TileCacheMeta", TileCacheMeta);
     writer.SetString("MapboxSourceList", MapboxSourceList);
     writer.SetString("MapboxSource", MapboxSource);
     writer.SetString("MapboxURL", MapboxURL);
     return(base.Write(writer));
 }
示例#2
0
文件: GH_Grid.cs 项目: viccharp/Ivy
        public override bool Write(GH_IO.Serialization.GH_IWriter writer)
        {
            writer.SetInt32("Dim", Value.Dim);
            for (int d = 0; d < Value.Dim; d++)
            {
                int Nd = Value.Data[d].Length;
                writer.SetInt32("NodeCount", d);
                writer.SetString("Label", d, Value.Labels[d]);

                string dimString = "Data[" + d + "]";
                for (int i = 0; i < Value.Data[d].Length; i++)
                {
                    writer.SetDouble(dimString, i, Value.Data[d][i]);
                }
            }
            return(base.Write(writer));
        }
示例#3
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("TopoService", TopoService);
     return(base.Write(writer));
 }
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("Profile", Profile);
     writer.SetString("MinutesOrMeters", MinutesOrMeters);
     return(base.Write(writer));
 }
示例#5
0
 /// Sticky items
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("ExtrudeDir", ExtrudeDir);
     return(base.Write(writer));
 }
示例#6
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("DriverType", DriverType);
     writer.SetString("DriverExtension", DriverExtension);
     return(base.Write(writer));
 }
示例#7
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("SortBy", SortBy);
     writer.SetString("Price", Price);
     return(base.Write(writer));
 }