Example #1
0
        public override List <StreamState> GetStreamsInFile()
        {
            var streams = new List <StreamState>();

            if (Doc != null)
            {
                streams = SpeckleStreamManager2.ReadState(Doc);
            }
            return(streams);
        }
Example #2
0
 public override void WriteStreamsToFile(List <StreamState> streams)
 {
     SpeckleStreamManager2.WriteStreamStateList(Doc, streams);
 }