LineAPI.appendPoint

 

long appendPoint(string ck, string xNew, string yNew, string c3New)

This method appends the location defined by xNew, yNew, and c3New to the end of the line feature identified by the argument ck.  The location (xNew, yNew) must be in the current Exchange Coordinate System, unless the map type is NRMR (See Map Types). If the line identified by ck has 2D points, i.e. “array3” was empty when the line was created,  c3New is ignored; otherwise, c3New must contain the same type of information provided in “array3” when the line was created. (See 2D vs. 3D Lines.)

The method returns 0 upon success, and returns error codes for the following conditions: