Synthèse
The following properties are supported by the systemJunctionObjectSource object in a utility network.
Propriétés
Propriété | Explication | Type de données |
sourceID (Lecture seule) | The ID of the system junction object source. | Integer |
Exemple de code
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}")
Vous avez un commentaire à formuler concernant cette rubrique ?