AnsweredAssumed Answered

ArcGIS 10.1 ModelBuilder - ValidateTableName - Calculate Value - Expression

Question asked by geonetadmin on Jan 31, 2013
Latest reply on Feb 7, 2013 by khodge-esristaff
Original User: Playa

I need assistance in constructing a python expression using calculate value to validate the new Feature Classes that I'm creating from selecting CAD Polyline Features based on their Layer Names. The problem that I have is that there are invalid characters within the CAD Layer Names. I need to use a combination of the CAD Layers Name and the Output Location (File Geodatabase) to use ArcGIS ValidateTableName to remove the invalid characters automatically. I'm stumped in how to construct the python expression to accomplish this. Any assistance will be appreciated. I've attached print screens of my model and the model toolbox.