Skip to main content

PCMSClearStops

Syntax

void PCMSClearStops(Trip trip)

Parameters

Trip trip – Handle to a trip.

Description

Removes all stops from a trip, leaving all other trip settings intact. The trip handle remains valid and can be reused to set up and run other routes.

Return Values

None

Sample Code

/* Clear out all the stops */
PCMSClearStops();

/* Add some more stops - reusing trip options, but not the stops */
PCMSAddStop(tripID, "Chicago, IL");
PCMSAddStop(tripID, "San Diego, CA");

Supported Since: PC*Miler Connect 12 Category: Trip Management

Last updated July 8, 2025.