CAD Drawing Dataset properties

サマリー

The Describe function returns the following properties for CAD drawing datasets. The Dataset property group is also supported.

For a CAD drawing dataset, the Describe dataType property returns a value of "CadDrawingDataset".

プロパティ

プロパティ説明データ タイプ
activeWorldFilePath
(読み取り専用)

Path to WLD3 file being used to adjust the spatial coordinates of features in the file.

String
angleUnitType
(読み取り専用)

The units of angular measures reported in the file: Decimal Degrees, DMS, Grads, Radians, or Surveyor's Unit.

String
author
(読み取り専用)

CAD user-entered file author's name.

String
cadLayers
(読み取り専用)

A string list of CAD layers in the file.

String
civilCSDescription
(読み取り専用)

The coordinate system description from Civil 3D in the file.

String
civilCSName
(読み取り専用)

The coordinate system name from Civil 3D in the file.

String
client
(読み取り専用)

CAD user-entered name of the client for whom the file was created.

String
comments
(読み取り専用)

CAD user-entered comment within file.

String
company
(読み取り専用)

CAD user-entered company name for the file.

String
externalSources
(読み取り専用)

A list of files referenced within this file as a JSON array of a JSON object.

String
is2D
(読み取り専用)

Indicates whether a CAD dataset is 2D.

Boolean
is3D
(読み取り専用)

Indicates whether a CAD dataset is 3D.

Boolean
isAutoCAD
(読み取り専用)

Indicates whether a CAD dataset is an AutoCAD file.

Boolean
isCivil3D
(読み取り専用)

Indicates whether a CAD dataset is an AutoCAD Civil 3D file.

Boolean
isDGN
(読み取り専用)

Indicates whether a CAD dataset is a MicroStation file.

Boolean
keywords
(読み取り専用)

CAD user-entered keywords that can be used as search criteria for the file.

String
lastSavedBy
(読み取り専用)

CAD user-entered name of the last person who last saved the file.

String
lengthUnitType
(読み取り専用)

The units of linear measures used in the file: Decimal, Architectural, Engineering, Fractional, or Scientific.

String
manager
(読み取り専用)

CAD user-entered name of the manager responsible for the file.

String
subject
(読み取り専用)

CAD user-entered subject of the content of the file.

String
title
(読み取り専用)

CAD user-entered document title of the file.

String
version
(読み取り専用)

CAD authoring application file version.

String

コードのサンプル

CAD drawing dataset properties example

The following stand-alone script displays properties for a CAD drawing dataset:

import arcpy 

# Create a describe object 
# 
desc = arcpy.Describe("C:/data/arch.dgn")

# Print Cad Drawing Dataset properties 
# 
print("%-12s %s" % ("is2D:", desc.is2D))
print("%-12s %s" % ("is3D:", desc.is3D))
print("%-12s %s" % ("isAutoCAD:", desc.isAutoCAD))
print("%-12s %s" % ("isDGN:", desc.isDGN))