create Element Or Null
Creates an UtilityElement from a feature and an optional UtilityTerminal. If the optional UtilityTerminal is not supplied, and the feature's UtilityAssetType supports an UtilityTerminalConfiguration, a default UtilityTerminal will be assigned.
This method will return null if the input feature does not belong to this utility network or a supplied terminal does not belong to the feature's asset type.
Return
A new UtilityElement object, or null
Since
200.1.0
Parameters
the Feature from which this UtilityElement is to be created
the terminal for a junction feature
Creates an UtilityElement from an UtilityAssetType, a GlobalID, and an optional UtilityTerminal. If the optional UtilityTerminal is not supplied, and the feature's UtilityAssetType supports an UtilityTerminalConfiguration, a default UtilityTerminal will be assigned.
This method will return null if the asset type does not belong to this utility network or a supplied terminal does not belong to the feature's asset type.
Return
A new UtilityElement object, or null
Since
200.1.0
Parameters
the asset type of the Feature from which this UtilityElement is created
the global ID of the Feature from which this UtilityElement is to be created
the terminal for a junction feature