using System;
using DXFReaderNET;
using DXFReaderNET.Entities;
namespace DXFReader.NET_ConsoleApp
{ class Program
{
static void Main(string[] args)
{
DXFReaderNETControl myDXF = new DXFReaderNETControl();
myDXF.ReadDXF(@"..\..\..\..\drawing.dxf");
int n = 0;
foreach (Line line in myDXF.DXF.Lines)
{
n++;
Console.WriteLine("Line #: " + n.ToString() + " lenght: " + line.Lenght.ToString());
}
Console.ReadKey();
}
}
}