ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

CAD Drawing Dataset properties

  • Summary
  • Properties
  • Code sample

Summary

The Describe function returns the following properties for CAD Drawing Datasets. Dataset Properties are also supported.

A CAD Drawing Dataset returns a dataType of "CadDrawingDataset".

Properties

PropertyExplanationData Type
is2D
(Read Only)

Indicates whether a CAD dataset is 2D

Boolean
is3D
(Read Only)

Indicates whether a CAD dataset is 3D

Boolean
isAutoCAD
(Read Only)

Indicates whether a CAD dataset is an AutoCAD file

Boolean
isDGN
(Read Only)

Indicates whether a CAD dataset is a MicroStation file

Boolean

Code sample

CAD Drawing Dataset properties example (stand-alone script)

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)

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal