void PCMSSetCalcTypeEx (Trip trip, int rtType, int optFlags, in vehType)
Trip trip – Handle to a trip.
int rtType – The route type: Practical, Shortest or Air. (See values below.)
int optFlags – The route options. With either Practical or Shortest routing, this can be AvoidToll, National or both. (See values below.)
int vehType – The vehicle type, can be Truck or Auto. (See values below.)
Extended Routing Calculations
Sets the trip’s routing method when route type combinations are desired. This API is a more comprehensive alternative to PCMSSetCalcType.
PCMSSetCalcType treats Route Options in the PC*MILER user interface (such as State + National Network, Toll Discouraged, and POV) as separate, mutually exclusive route types. For example, if the 53-Foot Semitrailer profile—which includes the State + National Network option—is loaded first and then PCMSSetCalcType is called to set the route type to Shortest, State + National Network routing will be turned off.
Using PCMSSetCalcTypeEx, you can set the route type to Shortest and specify the continued use of the State + National Network.
Supported Since: PC*MILER|Connect 17
Category: Trip Options