System Junction Object Source properties

Zusammenfassung

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

Eigenschaften

EigenschaftErläuterungDatentyp
sourceID
(Schreibgeschützt)

The ID of the system junction object source.

Integer

Codebeispiel

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}")