Skip to main content

PCMSSetElevationDiscouraged

Syntax

void PCMSSetElevationDiscouraged (Trip trip, bool onOff)

Parameters

  • Trip trip – Handle to a trip.
  • bool onOff – Set to True to use a customized limit on the elevation; False to allow any elevation.

Description

Allows the setting of a customized limit on the elevation of the roads along a route. That threshold number can be set via the PCMSSetElevationLimit API. Elevations at or above this height will be avoided unless it is extremely impractical or a stop or destination on the route is located at the higher elevation.

Return Values

None

Supported Since: PC*Miler Connect 29

Category: Trip Options

Last updated July 8, 2025.