サマリー
The Describe function returns the following properties for schematic diagrams. The Dataset property group is also supported.
For a schematic diagram, the Describe dataType property returns a value of "SchematicDiagram".
プロパティ
プロパティ | 説明 | データ タイプ |
diagramClassName (読み取り専用) | The name of the schematic diagram class associated with the diagram. | String |
コードのサンプル
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)