public static bool WriteValue(Kc.Chunk outputChunk, Parts.IProperty property)
        {
            if (property.CurrentValue != null)
            {
                outputChunk.SetValue(property.Name, property.CurrentValue);
                return(true);
            }

            return(false);
        }
 public static bool ReadValue(Kc.Chunk inputChunk, Parts.IProperty property)
 {
     if (property.DefaultValue != null)
     {
         object valueObject = inputChunk.GetValueObject(property.Name, property.DefaultValue);
         property.CurrentValue = valueObject;
         return(true);
     }
     return(false);
 }