Tier Group properties

サマリー

The properties below are returned by the tierGroups object when using Describe on a utility network.

プロパティ

プロパティ説明データ タイプ
creationTime
(読み取り専用)

The creation time of the tier group.

String
name
(読み取り専用)

The name of the tier group.

String

コードのサンプル

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