Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

export from cad to shapefile

$
0
0
i have use arcgis10.1,arcobjects.net.

i did following code

ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();
gp.OverwriteOutput = true;

ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile tool = new ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile();


tool.Input_Features = @"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg";
tool.Output_Folder = @"C:\Temp1";
gp.Execute(tool, null);

but after execute this code i got error "Error HRESULT E_FAIL has been returned from a call to a COM component. "
if any one have any suggestion or any sample for this conversion or any link then send me please ..

Viewing all articles
Browse latest Browse all 1374

Trending Articles