Start » Filter Reference » Path » Path Basics » GetPathSegment

GetPathSegment


Module: FoundationLite

Returns the selected segment of a path.

Name Type Range Description
Input value
inPath Path Input path
Input value
inIndex Integer 0 -
Input value
inInverse Bool Reversed order of segments
Output value
outSegment Segment2D

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty path in GetPathSegment.
DomainError Incorrect segment index in GetPathSegment.

Complexity Level

This filter is available on Advanced Complexity Level.