逻辑示意图属性 (arcpy)

摘要

Describe 函数可返回以下逻辑示意图属性。同时还支持数据集属性

逻辑示意图可返回“SchematicDiagram”dataType

属性

属性说明数据类型
diagramClassName
(只读)

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

String

代码实例

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
5/10/2014