Skip to main content

逻辑示意图属性

汇总

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

对于逻辑示意图, Describe dataType 属性将返回 "SchematicDiagram" 的值。

属性

属性 说明 数据类型

diagramClassName

(只读)

与示意图有关的逻辑示意图类的名称。

String

代码示例

逻辑示意图属性示例

以下独立脚本显示了逻辑示意图的 diagramClassName 属性:

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)