ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / Element Class / PositionTo Property

In This Topic
    PositionTo Property
    In This Topic
    Indicates where on the linear feature the edge element ends, represented as a percentage of the length of the feature (between 0 and 1)
    Syntax
    public double PositionTo {get;}
    Public ReadOnly Property PositionTo As Double
    Example
    Line feature with objectId 100 with 2 midspan junctions (j1,j2). The line feature has 3 edge network elements F-j1, j1-j2 and j2-T.

    OID=100
    F------j1------j2------T

    F-j1 (objectId=100, positionFrom=0, positionTo=0.33)
    j1-j2 (objectId=100, positionFrom=0.33, positionTo=0.66)
    j2-T (objectId=100, positionFrom=0.66, positionTo=1)

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.3 or higher.
    See Also