laptop and a wrench

Error

When an inline variable is used in the value of a input parameter of type Composite (such as the "output workspace" parameter on the FC to FC tool) the variable subsequently created in model builder is not always of the right type. This can result in other problems because the model will run even though validation would demonstrate that the models is not ready to run.

Última publicación: August 25, 2014 ArcGIS for Desktop
Número de ID del error NIM040839
EnviadoDecember 15, 2008
Ú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

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Solución alternativa

This whole problem stems from the fact that when you type "%path%\Test.gdb\Test" into the "Ouput Location" it creates a variable of type composite which is actually pointing to the path of a Feature Dataset (which is the actual bug). Because of this, you will notice that if you close the Feature Class to Feature Class dialog after typing "%path%\Test.gdb\Test" and validate the model, it will go into a "not ready to run state". If you returnto the Feature Class to Feature Class dialog you will also notice that there is an error saying that "the output location does not exist or is not supported". There is a workaround to this problem.During the creation of the model instead of typing "%path%\Test.gdb\Test" into the "Output Location" parameter, create a new varaiable of type "Feature Dataset" and type in "%path%\Test.gdb\Test" for that variables value. Then connect that variable with the Feature Class to Feature Class tool. The model will validate and also run correctly.

Pasos para reproducir

ID del error: NIM040839

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