POST
|
I don't believe this enhancement is truly a complete fix. Because of the overlapping jargon like 'filter' vs 'filter widget', the OP may have been asking about clearing any and all framework filter action as you can perform a filter action on any number of widgets, not just the 'filter widget'. The current enhancement is only a fix for the filter widget.
... View more
04-28-2023
11:46 AM
|
5
|
1
|
1497
|
POST
|
You should be able to copy text from data driven text widget... or from a table, popup etc. Note: If you are editing the ExB, and using the 'Live View' it will appear that you CANNOT copy the text, but once you actually publish and are viewing the real-deal, you can copy.
... View more
04-24-2023
09:05 PM
|
1
|
0
|
495
|
POST
|
This similar question has been asked before, but not fully answered. I cannot find any documentation. It appears that the tool does in-fact apply a transformation, but no way to tell which one. (Despite the fact that the Help for the tool implies that it does not). Others have stated that it also does not honor the a transformation defined in the Environments. Can we get some word or documentation from Esri on what is going on here? Transformations are not something that should be left up to assumptions.
... View more
08-01-2017
07:53 AM
|
0
|
1
|
497
|
POST
|
I have this same problem. Lots of rasters using in_memory. I have even used arcpy.Delete_management to remove them when i am done, but I still get this error.
... View more
05-11-2017
12:14 PM
|
0
|
0
|
467
|
POST
|
So to circle back, for the laymen, which approach would be the best to use?
... View more
04-05-2017
11:40 AM
|
0
|
1
|
4024
|
POST
|
I think you missed Dan's comment. rasmean is a raster object, although I would expect something to be printed. Did you check the workspace directory to see if any .tif have been saved there? Also i would print your rasterList to help debug. I suspect one of your problems is there. CellStatistics is looking for a list of rasters and your are looping through the list of rasters and giving it one item from the list which implies that rasterList is a list of list.
... View more
03-29-2017
10:25 AM
|
1
|
0
|
621
|
POST
|
When I solve for the nearest facility in python I get this error: An error occured on line 122 ERROR 030024: Solve returned a failure. Failed to execute (Solve) The problem is I don’t have any info on why the solve failed. try:
arcpy.Solve_na(naNearFacil, "SKIP", "TERMINATE", "")
arcpy.RefreshActiveView()
except Exception as e:
# If an error occurred, print line number and error message
import traceback, sys
tb = sys.exc_info()[2]
print "An error occured on line %i" % tb.tb_lineno
print str(e)
I only get the error if I am running the script via idle and it works fine as a python tool in the MXD. It also works fine in idle if the input facility list is smaller. So I guess it could be a memory issue. Any ideas on what the problem is or at least how to get more info on why the solve failed.?
... View more
07-28-2016
08:23 AM
|
1
|
1
|
3070
|
POST
|
With the getclassnames, it is only getting the sub layer name right? I think my problem was that I was trying to pass that directly into my tools, where as I probably needed to use the name to find the Layer, then pass the Layer into the tools?
... View more
07-15-2016
08:42 AM
|
0
|
1
|
1307
|
POST
|
So I think I got it. It wasnt as bad as i thought. I was trying to use the arcpy.na.GetNAClassNames that I saw somewhere, but had no luck with that. A simple listlayers worked for me. It worked but let me know if there are potential issues. for lyr in arcpy.mapping.ListLayers(mxd, "", df):
if lyr.name.lower() == "orders":
orderlayerName = lyr
print "Found it"
else:
print "you're not the droid im looking for"
OrdersView = "Orders_View"
print "make tableview"
arcpy.MakeTableView_management(orderlayerName,OrdersView)
#Calculate field with python expression selection
arcpy.CalculateField_management(OrdersView,"AssignmentRule","Reclass( !AssignmentRule! )","PYTHON_9.3","def Reclass(AssignmentRule):\n if AssignmentRule == 3:\n return 1\n else:\n return 3")
... View more
07-14-2016
08:28 AM
|
0
|
1
|
1305
|
POST
|
Thank you. I made some changes to my costs variables and I think the two step process is going to work for me. My follow up question is, what is the best way to update Assignment rules via Arcpy? I should be able to use the code block of CalculateField_management to make the specific field changes, but to do the calculation do I need the NA sublayer to be a feature layer? Do you happen to have a snippet that does this this assignment rule update? NA layers and sublayers seem to behave much differently than normal layers in python outside of arcDesktop. And help would be appreciated.
... View more
07-14-2016
07:24 AM
|
0
|
2
|
1305
|
POST
|
Is there any way to flag specific orders so that are always reached in a route? I tried using the time constraints and that seems to help some, but there are still scenarios where my priorities orders (ones that now have a time window) are not reached. What i am saying is, can I tell it, given these orders that must be fulfilled, give me the best routes to service these orders and any other 'normal' orders that can be reached. I know i can lock a sequence, but then i have to lock at route too. I want the give the solver that flexibility.
... View more
07-11-2016
01:39 PM
|
0
|
6
|
7417
|
POST
|
The junction does look like a dead in junction. The problem is that the line segments are snapped together, but still creates a end junction. I was a able to fix it the long way. If i edit the lines, move and 'unsnap' them, save and/or build the network again, then move the line back to snap them together then build/save, finally I get the network communication between the two lines.
... View more
07-11-2016
12:47 PM
|
0
|
0
|
264
|
POST
|
I have built a network dataset using the esri roads that are set up for network use. When an analysis gets to the state line it wont go past it. I didnt create the network, but what are some things i can look for to as possible causes? The roads in each state look connected topologically to the corresponding road in the adjacent state. They also look to have the same elevation and class attributes. Is there something in the attributes or network dataset properties i should look for that might be stopping this? One thing i did notice is that it looks like two junctions are created at this intersection instead of just one
... View more
07-01-2016
01:52 PM
|
0
|
2
|
2270
|
POST
|
I have a DDP set up that also includes Page Definition Query on layers in the MXD. I have python script that references this map includes an arcpy.da.searchcursor that loops through the same feature class that has the Page Definition Query. When it loops through it sees all the features rather than just the features that are limited by that page's Page Definition Query. Is this suppose to be that way? Since I am already in python, a work around would be to just forget about the Page Definition Query and call the DDP page name. Then i could use that for an old fashion definition query before my arcpy.da.searchcursor. Anyone know the code to call the current DDP page name?
... View more
09-29-2015
08:14 AM
|
0
|
6
|
2820
|
Title | Kudos | Posted |
---|---|---|
1 | 04-24-2023 09:05 PM | |
5 | 04-28-2023 11:46 AM | |
1 | 03-29-2017 10:25 AM | |
1 | 07-28-2016 08:23 AM | |
4 | 04-13-2015 10:16 AM |
Online Status |
Offline
|
Date Last Visited |
02-28-2024
12:14 AM
|