Skip To Content

Schematic Diagram properties

Summary

The Describe function returns the following properties for Schematic Diagrams. Dataset Properties are also supported.

A Schematic Diagram returns a dataType of "SchematicDiagram".

Properties

PropertyExplanationData Type
diagramClassName
(Read Only)

The name of the schematic diagram class associated with the diagram.

String

Code sample

Schematic Diagram properties example (stand-alone script)

The following stand-alone script displays the diagramClassName property of a schematic diagram.

import arcpy

# Create a Describe object for a schematic diagram
#
desc = arcpy.Describe("C:/data/blanding.gdb/CityPower/Feeders/Feeder 0801-Rice Creek")

# Print the diagram class name property
#
print "Diagram Class Name: " + desc.diagramClassName