laptop and a wrench

Error

Shape.Area throws an error in CalculateField tool when run on a shapefile using VB syntax.

Última publicación: August 25, 2014 ArcGIS for Desktop
Número de ID del error NIM045219
EnviadoMay 8, 2009
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada9.3
Sistema operativoWindows OS
Versión de sistema operativoXP
EstadoWill Not Be Addressed

Información adicional

No Public Explanation

Solución alternativa

Public Sub CalcFields()Dim pGP As ObjectSet pGP = CreateObject("esriGeoprocessing.GPDispatch.1")On Error GoTo eh'Location of the toolboxpGP.AddToolbox ("C:\Documents and Settings\<profile_name>\Application Data\ESRI\ArcToolbox\My Toolboxes\TEST.tbx")'Name of the script (Calcualte Fields)pGP.Script1 MsgBox pGP.GetMessages(), vbOKOnly, "Test" eh: Debug.Print Err.Number & " " & Err.DescriptionEnd SubThere is few more ways of running geoprocessing functionality using VBA, check out this articlehttp://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=31110

Pasos para reproducir

ID del error: NIM045219

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga