Article | 41023326 |
Type | HowTo |
Product | Engine |
Version | 4.1.6.1028 |
Date Added | 12/8/2003 |
Submitted by | Takis |
Keywords |
double[] pt; VDProLib.vdPolyline mypol; pt = new double[] { 0, 0, 0 }; mypol=vdpro.ActiveDocument.Entities.AddPolyLine(new object[] {0,1,0, 5,7,0, 4,5,0}); VDProLib.vdFigure fig; VDProLib.vdPolyline mypol; object myobj; fig = vdpro.ActiveDocument.Entities.Start; while (fig != null) { if (fig.Type == "VDPOLYLINE") { mypol = (VDProLib.vdPolyline)fig; myobj=(System.Object)mypol.VertexList; } fig = vdpro.ActiveDocument.Entities.Next; }