fmeobjects.FMELine.reset

FMELine.reset(coords)

Resets the coordinates to an ‘empty’ state. It does not alter the geometry dimension, but it does remove all measures. If ‘coords’ is supplied, then this method sets the line’s coordinates to the values in the supplied ‘coords’ list. None zCoord values will result in a 2D line, otherwise a 3D line is created. This method removes all measures.

Parameters:

coords (list[tuple]) – (Optional) The list of coordinate tuples to add after the reset.

Return type:

None