Exemplo n.º 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)));
        }
Exemplo n.º 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)));
        }