System Junction Object Source properties

Resumen

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

Propiedades

PropiedadExplicaciónTipo de datos
sourceID
(Sólo lectura)

The ID of the system junction object source.

Integer

Muestra de código

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