public override List <StreamState> GetStreamsInFile() { var streams = new List <StreamState>(); if (Doc != null) { streams = SpeckleStreamManager2.ReadState(Doc); } return(streams); }
public override void WriteStreamsToFile(List <StreamState> streams) { SpeckleStreamManager2.WriteStreamStateList(Doc, streams); }