System Junction Object Source properties

Synthèse

The following properties are supported by the systemJunctionObjectSource object in a utility network.

Propriétés

PropriétéExplicationType de données
sourceID
(Lecture seule)

The ID of the system junction object source.

Integer

Exemple de code

Utility network system junction object source properties example (stand-alone script)

This stand-alone Python script prints a report of some utility network properties.

# Import required modules
import arcpy

# Describe function on a Utility Network
UN = "C:\\MyProject\\databaseConn.sde\\mygdb.USER1.Naperville\\mygdb.USER1.ElectricNetwork"
d = arcpy.Describe(UN)

# System Junction Object Source properties
sjosources = d.systemJunctionObjectSource
print("*** - System Junction Object Source properties - ***")
print(f"ID: {sjosources.sourceID}")