Zusammenfassung
The properties below are returned by the tierGroups object when using Describe on a utility network.
Eigenschaften
Eigenschaft | Erläuterung | Datentyp |
creationTime (Schreibgeschützt) | The creation time of the tier group. | String |
name (Schreibgeschützt) | The name of the tier group. | String |
Codebeispiel
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)
# Domain Network properties
domnets = d.domainNetworks
for dom in domnets:
# Tier Group properties
for tierGroup in dom.tierGroups:
print(f"*** - Tier Group properties - ***")
print(f"Tier Group Name: {tierGroup.name}")
print(f"Tier Group Creation Time: {tierGroup.creationTime}")