UtilityAssociation QML Type

A connectivity, containment, or structural attachment association. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.7
Inherits:

Object

Properties

Detailed Description

Associations are an integral part of network topology. Connectivity associations allow connectivity between two junctions that don't have geometric coincidence (are not in the same location). Structural attachment associations allow modeling equipment attached to structures. Containment associations allow modeling containment of features within other features. Network traces make use of associations. Associations are defined using two UtilityElement objects.

Property Documentation

associationType : Enums.UtilityAssociationType

Returns the type of this association.

See also Enums.UtilityAssociationType.


containmentVisible : bool

If this UtilityAssociation represents a containment association, returns whether the containment is visible (read-only).


fractionAlongEdge : double

The relative location along the non-spatial edge where the junction is (logically) located (read-only).

If this is a junction to a non-spatial edge connectivity association, this property represents how far the junction is located along the non-spatial edge, from 0.0 (the edge's start point) and 1.0 (the edge's end point).

If this association represents Enums.UtilityAssociationTypeJunctionEdgeObjectConnectivityToSide, the value will be 0.0, if Enums.UtilityAssociationTypeJunctionEdgeObjectConnectivityMidspan, the value will be between 0.0 and 1.0, and if Enums.UtilityAssociationTypeJunctionEdgeObjectConnectivityFromSide, the value will be 1.0.

The default value is 0.0.

This property was introduced in Esri.ArcGISRuntime 100.10.


fromElement : UtilityElement

Returns the first participant in a UtilityAssociation (read-only).

If this is a containment association, this property represents the container. If this is a structural attachment association, this property represents the structure.


geometry : Geometry

The geometry of this UtilityAssociation (read-only).

This geometry represents the connection between UtilityAssociation::fromElement and UtilityAssociation::toElement. This property is valid only on connectivity and structural attachment UtilityAssociation objects returned by UtilityNetwork::associationsWithEnvelope() or UtilityNetwork::associationsWithType().

This property was introduced in Esri.ArcGISRuntime 100.8.


globalId : string

Returns the UUID of the element (read-only).

The globalId property is a UUID represented as a string.

Note: This will always contain brackets and any hex values will always be lower case.


toElement : UtilityElement

Returns the second participant in an association (read-only).

If this is a containment association, this property represents the content. If this is a structural attachment association, this property represents the attached item.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.