POST
|
OK, here are my results...same...it looks like # packages in environment at C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3: # libpng 1.6.37 h2a8f88b_0
... View more
12-18-2020
12:54 PM
|
0
|
1
|
1155
|
POST
|
Hi Dan. I am using 2.6.2 currently. Any thoughts? I may try upgrading to 2.7 and see what happens.
... View more
12-18-2020
12:18 PM
|
0
|
3
|
1157
|
POST
|
I am using the exportToPDF function to export a layout to PDF and after each successful export the lines below are written to standard output. As far as I know there is no actual error or problem. Does anyone know how to avoid getting this output, which fills up your Std Out and/or log files? "libpng error: Not a PNG file" "libpng error: Not a PNG file" "libpng error: Not a PNG file" "libpng error: Not a PNG file" "libpng error: Not a PNG file"
... View more
12-18-2020
10:24 AM
|
0
|
5
|
1165
|
POST
|
In the snippet below you can see that I am calling ms.pageRow.PageName to get the value for the field named "PageName" in my Index Layer. This is how all the sample code I have found does it. But, how can you do this using a string variable for the field name? For instance you want to pass in the field name as an argument to the script. I have tried getValue("PageName") like you see in the SDK documentation, but that does not work. Any ideas? if not lyt.mapSeries is None:
ms = lyt.mapSeries
if ms.enabled:
for pageNum in range(1, ms.pageCount + 1):
ms.currentPageNumber = pageNum
page = ms.pageRow.PageName # <-- ??How to use a variable field name here??
print(" - {0}".format(output_path + f"file_{page}.pdf"))
lyt.exportToPDF(output_path + f"file{page}.pdf", resolution = 300)
... View more
12-16-2020
10:12 AM
|
0
|
1
|
516
|
POST
|
Anyone have example C# using QueuedTask.UIScheduler? I have a lot of code that is running in worker thread using QueuedTask.Run but need to somehow dispatch a call to update the gui in the middle of it all. Any examples using UIScheduler or C# .Net would be great.
... View more
10-09-2020
03:19 PM
|
0
|
2
|
901
|
POST
|
Thanks again for all your help! I do have one more quick question. Do you have any idea why my Error Message attributes are always Null. According to the documentation the Error Message field in the popup window should contain information about the rule violations..."9,RuleID(s) 276,962". But you can see in my screenshot that it is always NULL even when there are multiple error codes. Do you think this is a configuration issue? Have you seen this before?
... View more
10-06-2020
08:55 AM
|
0
|
2
|
3851
|
POST
|
Fantastic. Thank you for the detailed description. Cheers!
... View more
10-05-2020
03:11 PM
|
1
|
0
|
3851
|
POST
|
Thank you so much Xander! Ok, I should have caught the summing of the Status. So 2^3 = 8 and 2^0 = 1 and then you are summing them to get a Status of 9. The documentation does say something kind of along those lines. How about a follow up question? How do you guys, in this case, get both error codes in the popup... 25 and 34? I am not following how that is encoded somewhere in the attributes. Or is it stored in another table, etc.?
... View more
10-05-2020
01:52 PM
|
0
|
5
|
3851
|
POST
|
I am hoping there is someone that has some experience with the Utility Network 4 Dirty Areas layer. The Utility Network no longer renders dirty areas as point, line, and polygon features, but just a single polygon layer. Also, the attribute data for storing error information is very different, with bitwise operations to store attributes etc. I have read the ESRI documentation about these changes, but I still have many questions. Status and Error Code attributes are confusing me. I understand the bitwise operations that lead to the Status and Error Code attributes, but only for simple one step operations. I do not understand where the values for these fields come from once you start combining errors to the same feature(s). Anyone have experience with decoding this new approach to error management? Where is the detailed explanation or algorithm for this stuff? Here is electric Utility Network 4. I stacked two electric devices and then changes their asset type to unknown also. In my edit-only.png image (After applying edits)... 1. Why did Status change from 8 to 9 when I added a second edit? I understand that Status code 8 corresponds with "3—Feature error". But, what is 9? 2. In this image I do understand the Error Codes, but was surprised that the Error Message attributes are all Null. Why is that? In my validate-also.png (After running validation)... 3. The Status attributes switched back to 8 after validating. Why? So, this is kind of the same question as number 1. 4. I understand the Error Code values here...they correspond to error 8, 34 and 35. But still the Error Message attributes are all Null? Why? Thanks in advance for any insight!
... View more
10-05-2020
12:01 PM
|
2
|
7
|
3967
|
Title | Kudos | Posted |
---|---|---|
1 | 10-05-2020 03:11 PM | |
2 | 10-05-2020 12:01 PM |
Online Status |
Offline
|
Date Last Visited |
01-11-2021
04:01 PM
|