Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1751

ArcGIS 10.1 ModelBuilder - ValidateTableName - Calculate Value - Expression

$
0
0
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.

Regards
Attached Thumbnails
Click image for larger version

Name:	ExportCADLayers2.jpg‎
Views:	N/A
Size:	40.3 KB
ID:	21287   Click image for larger version

Name:	ExportCADLayers1.jpg‎
Views:	N/A
Size:	27.6 KB
ID:	21288  
Attached Files

Viewing all articles
Browse latest Browse all 1751