public static bool AssignSurfaceOutputSpecs(string path_TBD, string name)
        {
            if (string.IsNullOrWhiteSpace(path_TBD) || !System.IO.File.Exists(path_TBD) || name == null)
            {
                return(false);
            }

            bool result = false;

            using (SAMTBDDocument sAMTBDDocument = new SAMTBDDocument(path_TBD))
            {
                result = AssignSurfaceOutputSpecs(sAMTBDDocument.TBDDocument, name);
                if (result)
                {
                    sAMTBDDocument.Save();
                }
            }

            return(result);
        }
        public static List <bool> UpdateSurfaceOutputSpecs(string path_TBD, IEnumerable <SurfaceOutputSpec> surfaceOutputSpecs)
        {
            if (string.IsNullOrWhiteSpace(path_TBD) || !System.IO.File.Exists(path_TBD) || surfaceOutputSpecs == null)
            {
                return(null);
            }

            List <bool> result = null;

            using (SAMTBDDocument sAMTBDDocument = new SAMTBDDocument(path_TBD))
            {
                result = UpdateSurfaceOutputSpecs(sAMTBDDocument.TBDDocument, surfaceOutputSpecs);
                if (result != null)
                {
                    sAMTBDDocument.Save();
                }
            }

            return(result);
        }