Repair Geometry in ModelBuilder, invalid input when using inline variable sub

Discussion created by elsewhere102 on Aug 9, 2012
Latest reply on Nov 9, 2012 by smehta-esristaff
I am using the Repair Geometry tool in the middle of my model. It worked fine when I passed it a specific feature class as the input feature, but when I changed all the file paths for the feature classes in the model to have an inline variable substitution for the workspace, the Repair Geometry tool gave me the error (000314) that the input feature "is not a Shapefile or a feature class in a Personal or File Geodatabase." My workspace variable is called "Output" and it contains the path to a geodatabase. So my input feature for the Repair Geometry tool is: %Output%\NameOfFeatureClass.

All the other tools in the model are not broken by using this inline variable substitution for the geodatabase path.

I tried to pass the Repair Geometry tool the output from the Make Feature Layer, since that's how I've fixed tools that require a layer input. However, in this case the Make Feature Layer tool did not help.

Has anyone else had this problem or have ideas for how to fix it?