Add Field & Delete Field Removes Layer from TOC

3200
4
Jump to solution
05-31-2016 02:54 PM
ChrisHolmes
Occasional Contributor III

Hello everyone, I have the following model which adds a field to site_polygon. It works fine but it also removes site_polygon from the TOC. Which I don't understand why this happens. I can drag site_polygon back onto the map from Catalog but it will not have any of the symbology that it had before. I find it works the same if I use "Delete Field" also.

Thanks. Any ideas appreciated.

Chris

0 Kudos
1 Solution

Accepted Solutions
FC_Basson
MVP Regular Contributor

Are you overwriting the site_polygon layer in the process?

View solution in original post

4 Replies
FC_Basson
MVP Regular Contributor

Are you overwriting the site_polygon layer in the process?

ChrisHolmes
Occasional Contributor III

Yes I am. So now when I think about it, it makes sense. But it's not what I want to do. Site_polygon is a empty layer, all I want to do is to copy a parcel from the OPF PARCEL layer and paste it into site_parcel, without having it removed from TOC and losing it's symbology.

Is there a better way I should be looking into doing this?

Thanks

0 Kudos
curtvprice
MVP Esteemed Contributor

Maybe you could be using the Append tool so you don't need to delete and re-write the dataset?

ChrisHolmes
Occasional Contributor III

Thanks Curtis, I'll check it out.

Chris

0 Kudos