Ejemplo n.º 1
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     // First add our own field.
     writer.SetBoolean("Clipped", Clipped);
     // Then call the base class implementation.
     return(base.Write(writer));
 }
Ejemplo n.º 2
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));
 }
        public override bool Write(GH_IO.Serialization.GH_IWriter writer)
        {
            //writer.SetGuid("targetPanelComponentGuid", targetPanelComponentGuid);

            writer.SetBoolean("caps", caps);


            return(base.Write(writer));
        }
Ejemplo n.º 4
0
        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));
        }
Ejemplo n.º 5
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("TopoService", TopoService);
     return(base.Write(writer));
 }
Ejemplo n.º 6
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetBoolean("Clipped", Clipped);
     return(base.Write(writer));
 }
Ejemplo n.º 7
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("Profile", Profile);
     writer.SetString("MinutesOrMeters", MinutesOrMeters);
     return(base.Write(writer));
 }
Ejemplo n.º 8
0
 /// Sticky items
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("ExtrudeDir", ExtrudeDir);
     return(base.Write(writer));
 }
Ejemplo n.º 9
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("DriverType", DriverType);
     writer.SetString("DriverExtension", DriverExtension);
     return(base.Write(writer));
 }
Ejemplo n.º 10
0
 public override bool Write(GH_IO.Serialization.GH_IWriter writer)
 {
     writer.SetString("SortBy", SortBy);
     writer.SetString("Price", Price);
     return(base.Write(writer));
 }