# ArcGIS Pro - Model Builder Help

576
12
03-24-2020 08:56 PM
MVP Regular Contributor

So below is what I was asked to calculate. I thought summarize within would cut it but it will not.

This needs to happen for all 6000+ buildings in my city.

Thanks!

12 Replies
MVP Esteemed Contributor

The submodel requirement

EDIT

Did you now remove the 2 iterator issue from your original question??

MVP Regular Contributor

Dan Patterson‌  Yes I did   I have a second iterator but I am having issues with the whole thing not just the iterator part so I removed it from the question.

MVP Regular Contributor

This is what I have so far I keep getting caught on calculate field.

MVP Esteemed Contributor

pretty sketchy examples for calculate field in modelbuilder

If using pro, there is the warning about significant changes to it

I dont use modelbuilder... maybe Curtis Price‌ will be of some help

MVP Regular Contributor

Thanks I will look at those. I think the hard part is that it is joining a field before calculate field.  I have to put in the parameters before the model gets run

MVP Esteemed Contributor

This is quite a puzzle. Where are you doing the summarize to total up the scores?

MVP Regular Contributor

I have not gotten to that yet I am just trying to get part of the model working.

I might have found a work around.  I am going to make a near table. run the y= 124.8 e^(-0.05x) equation then sum all of them. After that I will multiply by the structure score.  This should just bypass the whole model.  I will post here if it does.

Near table.

MVP Esteemed Contributor

That was my solution!

MVP Esteemed Contributor

Darn I didn't realize, you can do this in one run!  That is a lot less complicated.

Though I tried this with polygons and it uses actual boundaries, not centroids. So neighbors have a distance of zero. So, depending on how you want to count neighbor distance, you may want to convert the polys to centroid points and run the Generate Near Table on the points.