Skip to main content

PCMSGetCalcType

Syntax

int PCMSGetCalcType (Trip trip)

Parameters

Trip trip – Handle to a trip.

Description

Gets the trip’s current route type.

Return Values

Returns the trip’s current routing method. Valid values are:

  • 0: Practical
  • 1: Shortest
  • 2: National
  • 3: AvoidToll
  • 4: Air
  • 5: Personally Owned Vehicle (POV)

Supported Since: PC*Miler Connect 12

Category: Trip Options

Last updated July 19, 2025.