Select to view content in your preferred language

Connect to geodatabase or cad file by JavaScript Api

2887
4
01-05-2013 06:02 AM
AmmarAssem1
Emerging Contributor
How I can read data from cad file in Server hard disk directly when i using javascript api
0 Kudos
4 Replies
HemingZhu
Frequent Contributor
How I can read data from cad file in Server hard disk directly when i using javascript api


Have you thought about create a geoprocesing service and used it in your JS API apps?
0 Kudos
AmmarAssem1
Emerging Contributor
Hi hzhu,

Did you mean I create geoprocessing task convert data from cad file or from SDE GeoDatabase to json and return json data??

I created geoprocessing task convert cad file to shape file, then compress shape file to zip extension and using this zip file in my
JavaScript API application but i need to work directly with cad file not with zip file

Thanks,
Best wishes.
0 Kudos
HemingZhu
Frequent Contributor
Hi hzhu,

Did you mean I create geoprocessing task convert data from cad file or from SDE GeoDatabase to json and return json data??

I created geoprocessing task convert cad file to shape file, then compress shape file to zip extension and using this zip file in my
JavaScript API application but i need to work directly with cad file not with zip file

Thanks,
Best wishes.


arcpy treated a cad file as dataset, you could open a cad file reading the layers(point, ployline, polygons etc) inside a cad file....
0 Kudos
AmmarAssem1
Emerging Contributor
Thanks hzhu,
I will searching about arcpy but can I work with vba instead of arcpy ????

Best Wishes
0 Kudos