Resumen
The following properties are supported by the systemJunctionObjectSource object in a utility network.
Propiedades
Propiedad | Explicación | Tipo de datos |
sourceID (Sólo lectura) | The ID of the system junction object source. | Integer |
Muestra de código
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}")