Tier Group properties
Summary
The properties below are returned by the tierGroups object when using Describe on a utility network.
Properties
| Property | Explanation | Data Type |
|---|---|---|
|
creationTime (Read only) |
The creation time of the tier group. |
String |
|
name (Read only) |
The name of the tier group. |
String |
Code sample
Utility network tier group 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)
# 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}")