Manage Subnetwork properties
Summary
The properties below are returned by the manageSubnetwork object when using Describe on a utility network.
Properties
| Property | Explanation | Data Type |
|---|---|---|
|
isDirty (Read only) |
Describes whether the
This property requires a Utility Network Version value of 5 or later. |
Boolean |
Code sample
Utility network manage subnetwork properties (stand-alone script)
Retrieve the status of the isDirty property for tiers in the utility network.
# Import required modules
import arcpy
# Describe functions on a Utility Network
UN = "C:\\Projects\\MyProject\\unowner.sde\\Naperville.UNOWNER.Naperville\\Naperville.UNOWNER.Naperville"
d = arcpy.Describe(UN)
# Domain Network properties
domnets = d.domainNetworks
# For each domain network in the utility network
for dom in domnets:
# For each tier in the domain network
for tier in dom.tiers:
# Print the tier name
print(f"Tier Name: {tier.name}")
# Print the ManageSubnetwork properties
print(f"Manage IsDirty: {tier.ManageSubnetwork.isDirty}\n")