PATHSEGMENT Function

Returns the 1-based segment number at the specified percentage mark along the specified path.

Syntax

PATHSEGMENT(section,travel)

Parameters

Name

Required/Optional

Data Type

Description

section

Required

String

The Geometry section that represents the path, specified by a reference to its Path cell (for example, Geometry1.Path).

travel

Required

Double

The percentage of the path traversed, from the begin point to the end point. Must be between 0 and 1.

Return Value

Integer