Split by attribute in Model Builder

6498
11
Jump to solution
06-18-2015 07:12 AM
JonathanMori1
New Contributor III

Hi,

I have been attempting this model but I am having a little trouble with one part. The model exports from a SQL Spatial Database using Data Interop Extension , and merges them into one feature class. The problem I am having is that it needs to be split into separate shapefiles based on the "layer" field. I did some research and found that  "Iterate Field Values" would be able to do this, but I cannot get it to work right. I attached the toolbox and the Model that I am referring to is M4ExportModel_Points2. I was wondering if anyone could see what I'm missing or what I am doing wrong.

0 Kudos
11 Replies
JonathanMori1
New Contributor III

Thanks! I have a FoxTools version of this I have been using, but I will try out this one.

0 Kudos
DanPatterson_Retired
MVP Emeritus

check the script in the Fox tools version...I would be curious to see if it is a re-write or mine in a shell