예제 #1
0
        public static void ExportPoint(XYZ point, string header)
        {
            CheckFolder();
            XElement rootXElement = new XElement("Points");

            rootXElement.Add(GetGeometryFromObjects.GetXElementFromPoint(point));
            rootXElement.Save(Path.Combine(FolderName, GetFileName(header)));
        }
예제 #2
0
        public static void ExportPoints(IEnumerable <XYZ> points, string header)
        {
            CheckFolder();
            XElement rootXElement = new XElement("Points");

            foreach (XYZ point in points)
            {
                rootXElement.Add(GetGeometryFromObjects.GetXElementFromPoint(point));
            }

            rootXElement.Save(Path.Combine(FolderName, GetFileName(header)));
        }