POST
|
Having the same problems with model builder in Pro 2.7- did you find a solution? Opening some tools is excruciatingly slow, others go fairly quickly. The model runs as expected in a timely manner.
... View more
Friday
|
0
|
0
|
1
|
POST
|
Having the same issue- any solution found? Please ESRI, this has resulted in much work to fix lost attributes when forgetting to change default split policy to duplicate.
... View more
Monday
|
0
|
0
|
2
|
POST
|
I think it's solved...first I found a domain issue in the geodatabase- the field had both a domain assigned as well as a subtype with domain. Running again I had the same issue, but then I deleted all the fields from the expression, and re-entered them one by one, running each time to see if it worked. After adding them all back it seems to be returning correct results. I cannot explain it, thanks for taking a look. I did use Dan's version to simplify the code which is a good improvement.
... View more
a week ago
|
0
|
0
|
139
|
POST
|
I just substituted my actual field names with !Field1!,!Field2! for the purposes of this example.
... View more
a week ago
|
0
|
0
|
141
|
POST
|
This is what gets returned. If I reduce the number of input fields, whatever is the last one is what gives up the value.
... View more
a week ago
|
0
|
0
|
146
|
POST
|
Tried this, does the same thing. Only returns the calculated value of the last item (field value) in the iteration list.
... View more
a week ago
|
0
|
1
|
148
|
POST
|
It runs just fine for me as well, the problem is the solution is wrong. It only returns the result of the last field in the list. If I change the list, the result changes...it's not summing the cumulative values from the for iterations, only the value from the last iteration.
... View more
a week ago
|
0
|
0
|
148
|
POST
|
Pulling my hair out here...I'm trying to rebuild a for loop in a field calculator tool in modelbuilder. No matter what I try, the for loop only returns the last value of the iteration. This should be so simple, but I've been stuck for hours! Tried all sorts of reconfigurations. I have several fields with H,M,L or N values. Each of those should be assigned a score, which is then summed and returned for the new field. No matter what I do, the returned value is caculated ONLY based on the last field in the list as if I had the sum = 0 line inside the For loop...but I don't. Any ideas? CalcFVScore([!Field1!,!Field2!,!Field3!,!Field4!]) Code Block: def CalcFVScore(fields): sum = 0 for f in fields: if f == "H": score = 5 elif f == "M": score = 3 elif f == "L": score = 1 else: score = 0 sum = sum + score return sum
... View more
a week ago
|
0
|
10
|
180
|
POST
|
Hi Peter, Unfortunately, I've no good advice to offer. I ended up bailing on the Android devices altogether and switched to iOS which has been simple and straightforward to configure. I would check out the link I referenced to the other thread if you haven't already. I haven't been following it closely, but I think some other folks have found some workarounds to various Android issues and you may find something helpful. https://community.esri.com/t5/arcgis-collector-questions/collector-with-trimble-r2-record-correct-gnss-receiver-name-to/td-p/316906
... View more
11-20-2020
06:09 AM
|
0
|
0
|
228
|
POST
|
I have a very simple modelbuilder model that I use to export feature class(es) to a .dwg CAD file. The model just defines the output coordinate system and output type without having to manually select it. My issue is that the output CAD layers (point, polyline, polygon, multipatch, etc...) are always added to the map. I don't need or want them added and it just makes extra work to select and remove them Is there any way to have a model parameter (Output CAD File in this case) that does NOT get added to the map on a single model without unchecking "add geoprocessing output to map" for ALL geoprocessing tasks in Options/Geoprocessing? Most of the time, I want model outputs added, just not here. I wrote a little piece of python code for the Calculate Value tool that finds and removes those layers, but the layers don't seem to get added to the map until AFTER the model has finished running. I've tried with a time.sleep delay and using a submodel...but although the code runs, neither remove the CAD layers when running the tool. The code works fine on it's own, just has no effect in the model. Other ideas or workarounds to forcing a model to not add output parameters?
... View more
07-22-2020
12:46 PM
|
0
|
0
|
38
|
Online Status |
Online
|
Date Last Visited |
Friday
|