ExportCAD pExportCAD = new ExportCAD(); Geoprocessor pGP = new Geoprocessor(); object obj = Type.Missing; IGeoProcessorResult pResults; string strOutType = "DWG_R2000"; string strOutFile = @C:\Temp\Arquivo Exportado GEO.dwg; pGP.OverwriteOutput = true; pExportCAD.in_features = @C:\Arquivos de Programas\ArcGIS\ArcGlobeData\World Image.lyr; pExportCAD.Output_File = strOutFile; pExportCAD.Output_Type = strOutType; pExportCAD.Ignore_FileNames = "IGNORE_FILENAMES_IN_TABLES"; pExportCAD.Append_To_Existing = "OVERWRITE_EXISTING_FILES"; //pExportCAD.Seed_File = "seed2d.dgn"; if (pGP.Exists(pExportCAD.in_features.ToString(), ref obj)) { pResults = (IGeoProcessorResult)pGP.Execute(pExportCAD, null); MessageBox.Show("Processado"); } }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.