How to Get List of CADVertex from CADEntityCollection
Posted: 18 Sep 2017, 12:10
How to Get List of CADVertex from CADEntityCollection for LWPolygon.Vertexes?
Thanks
Thangaraj N
Thanks
Thangaraj N
CADSoftTools - AutoCAD DWG DXF HPGL (PLT) SVG CGM STEP IGES STL SAT viewers, converters and developer tools. Delphi and C# source code.
https://cadsofttools.com/forum/
Code: Select all
using CADImport;
using System.Collections.Generic;
...
CADLWPolyLine lwPolyline;
...
List<CADVertex> vertexes = new List<CADVertex>();
lwPolyline.Vertexes.ForEach(ent => vertexes.Add(ent as CADVertex));