POST
|
My model collects two values using the Get Field Value model-only tool. The table it is pulling these values from has no nulls in it. The two Get Field Value tools are preconditions for a Calculate Field tool. When I run the model, it fails to execute the Calculate Field tool, giving an error: "The process did not execute because the precondition is false." When I stop the model after I get the error, the Get Field Value outputs have non-null values in them. They are not boolean, so i do not understand why "False" is being reported to the Calculate Field tool. The Model Readout as it runs: ... Executing (Get Field Value): GetFieldValue "X:\2019\19-107 Sac Valley WQC - 2020 GW Services\GIS\SVWQC_HVA_AMK_v2.gdb\Temp_NSummary" MAX_Model Double -1 Start Time: Sunday, November 08, 2020 8:37:31 PM Succeeded at Sunday, November 08, 2020 8:37:31 PM (Elapsed Time: 0.05 seconds) Executing (Get Field Value (2)): GetFieldValue "X:\2019\19-107 Sac Valley WQC - 2020 GW Services\GIS\SVWQC_HVA_AMK_v2.gdb\Temp_NSummary" MIN_Model Double -1 Start Time: Sunday, November 08, 2020 8:37:31 PM Succeeded at Sunday, November 08, 2020 8:37:31 PM (Elapsed Time: 0.05 seconds) Executing (Calculate Field): CalculateField N_WelltestsDissolved_AllAttributesAssigned Model (!Model!-0)/(48.5839991620112-0) "Python 3" # Text Start Time: Sunday, November 08, 2020 8:37:31 PM The process did not execute because the precondition is false. Succeeded at Sunday, November 08, 2020 8:37:31 PM (Elapsed Time: 0.00 seconds) ,...
... View more
11-08-2020
08:48 PM
|
1
|
2
|
1466
|
POST
|
Absolutely. As I said, I opened the Model Properties, and examined the Parameters, where I tried to use the Dependency function. I am clicking on the Dependency column in the Parameters window of the Model properties. By definition, I can only see Parameters in that window. All it does is turn the cell blue, and it has no function whatsoever. Nothing happens. Nothing continues to happen when i right-click. I also tried clicking the index of the "Field" parameter shown below (index value = 1) and dragging it to the Dependency box of the index 0 Parameter, and I tried the reverse of that. When I do that, it can reorder the Parameters so that the "Field" Parameter becomes Index 0, but otherwise, nothing happens. In all cases, I have then clicked OK, closed the model after saving, and then tried to run it from the toolbox to see if the Dependency has taken effect. It has not. The "Field" Parameter does not have a drop-down list of any kind, let alone one that is filtered by the Fields available in the Feature Class occupying the "Candidate Factors" Parameter. I am using an Advanced license. I have full access to every function in ARCPRO. I am running 2.6.2 and it says my version is current. I really need this to work. Is the functionality simply not implemented?
... View more
11-07-2020
10:11 AM
|
0
|
0
|
1115
|
POST
|
I am trying to do the exact thing that the Help page, here: Model parameters—ArcGIS Pro | Documentation says: Dependency You can make one parameter dependent on another parameter. The most typical use for this is to make one parameter that accepts an attribute field dependent on another parameter that is a feature class or table; the field parameter will present a drop-down list of attribute fields from the dependent parameter. But when i open up the model properties to look at my parameters, and click on the "Dependency" cell for any parameter, nothing happens. I can set filters on Parameters, but I cannot set one to be dependent on another. Pretty desperate to get this to work. I need to be able to select the field from the set of fields in the relevant FC - exactly the application that the help page mentions.
... View more
11-06-2020
11:00 PM
|
2
|
4
|
1159
|
POST
|
1. Home button to get to the location of the mxd when adding data, saving data, etc. 2. Statistics right-click function for attributes. 3. Default gdb button to get to the default gdb when saving, exporting, adding data etc.
... View more
08-13-2017
12:15 PM
|
0
|
1
|
419
|
Title | Kudos | Posted |
---|---|---|
1 | 11-08-2020 08:48 PM | |
2 | 11-06-2020 11:00 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|