RE: MI Nodes in Polylines

2000-06-08 Thread Scott Hall
Title: RE: MI Nodes in Polylines 1. Is it possible to get the number of nodes in a Polyline? Getting the number of nodes for a pline is found through ObjectInfo. Dim bObject As Object Dim nNumNodes As Integer bObject = PolylineTable.Obj nNumNodes = ObjectInfo(bObject, OBJ_INFO_NPNTS

RE: MI Nodes in Polylines

2000-06-08 Thread Jacques Paris
Title: RE: MI Nodes in Polylines You cannot use nNumNodes = ObjectInfo(bObject, OBJ_INFO_NPNTS) as the upper boundary for the loop where you extarct the nodes x and y. The statement Xcoord = ObjectNodeX(bObject,1, nCntr) will create an error if a polyline contains more than one segment