ArcGIS JS API ExtractData - export feature layer to CAD (.dwg) file based on the selected region

895
0
07-08-2021 05:42 PM
AndyYang
New Contributor II

I hope to incorporate the export-to-CAD function of LINZ or Koordinates with my current ArcGIS web map.

Already I did some research but still not sure what part of codes need to be modified to make it work so I hope to get some hints/helps.

 

Basically the goal is to add a custom widget onto my web map which can let users select/draw a rectangle (area of interest) and export the feature layers' data contained within it to .dwg file. 

Guide - https://developers.arcgis.com/javascript/3/jsapi/extractdata-amd.html

There is also another clue I got from this forum post .

(Please see the attached zip file - which I tried to add 2 feature layers to be extracted but it seemed to get error when I executed it)

AndyYang_0-1625791237509.png

 

Could someone please give me a hand or example code to realise this? 🙂 

 

0 Kudos
0 Replies