UtilityAssociation

constructor(associationType: UtilityAssociationType, fromElement: UtilityElement, toElement: UtilityElement)

Creates an association with the specified type between the specified utility elements. Use this constructor if the association type does not need to specify a different value for:

Since

200.5.0

Parameters

associationType

The type of association between the UtilityAssociation.fromElement and UtilityAssociation.toElement.

fromElement

The first participant in the association.

toElement

The second participant in the association.

See also

UtilityAssociation.UtilityAssociation

(UtilityAssociationType, UtilityElement, UtilityElement, Double)


constructor(associationType: UtilityAssociationType, fromElement: UtilityElement, toElement: UtilityElement, isContainmentVisible: Boolean)

Creates an association with the specified type between the specified utility elements with UtilityAssociation.isContainmentVisible value. This constructor is typically used when creating UtilityAssociationType.Containment association.

Since

200.5.0

Parameters

associationType

The type of association between the UtilityAssociation.fromElement and UtilityAssociation.toElement.

fromElement

The first participant in the association.

toElement

The second participant in the association.

isContainmentVisible

True if the content in the containment association is visible, false otherwise.

See also

UtilityAssociation.UtilityAssociation

(UtilityAssociationType, UtilityElement, UtilityElement, Double)


constructor(associationType: UtilityAssociationType, fromElement: UtilityElement, toElement: UtilityElement, fractionAlongEdge: Double)

Creates an association with the specified type between the specified utility elements with the UtilityAssociation.fractionAlongEdge value. This constructor is typically used when creating UtilityAssociationType.JunctionEdgeObjectConnectivityMidspan association.

Since

200.5.0

Parameters

associationType

The type of association between the UtilityAssociation.fromElement and UtilityAssociation.toElement.

fromElement

The first participant in the association.

toElement

The second participant in the association.

fractionAlongEdge

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

See also

UtilityAssociation.UtilityAssociation

(UtilityAssociationType, UtilityElement, UtilityElement, Boolean)