Select to view content in your preferred language

how to export sde layer to cad layer in arcserver9.3 c# code

776
1
04-09-2013 02:32 AM
lihong1
New Contributor
I user these codes to export  sde layer to cad layer in arcserver c# code successfully but cad can't be read by autcad2007

http://www.cnblogs.com/myparamita/archive/2012/02/15/2352739.html  (tags is 2 AE)

I dont' know the reason.
MY environment is (win2003 sqlserver2005 sde c# arcserver9.3)

The dxf file is like this : (what's wrong ?)
0
SECTION
2
HEADER
9
$EXTMIN
10
103.203333333053
20
30.559695140089
30
0
9
$EXTMAX
10
114.481006009378
20
32.8811111112238
30
0
0
ENDSEC
0
SECTION
2
TABLES
0
ENDSEC
0
SECTION
2
BLOCKS
0
ENDSEC
0
SECTION
2
ENTITIES
0
POINT
8
sde.DBO.临�?��?�
62
7
10
107.508333300263
20
32.8811109997079
39
3
0
POINT
8
sde.DBO.临�?��?�
62
7
10
113.801726055352
20
31.2247179342413
39
3
0
ENDSEC
0
EOF
Tags (2)
0 Kudos
1 Reply
KarenHodge
Esri Contributor
The DXF output you included in your message is incomplete for current versions of AutoCAD.  To better understand the DXF format, check out the Autodesk website for the DXF specification.

However, the geoprocessing tool Export to CAD will generate valid DXF files from SDE Layers and will probably give you better results.
0 Kudos