|
POST
|
That works Zach, thanks for that. Now the next step would be to add some text for the width field to just say "Width = " and then the value. In my original code (not shown here) I had return [NAME] +'\r\n'+ [ALT_NAME] +'\r\n'+ "Width = " + [WIDTH] + "'" as my final line to at least have that text. How would I add that to your script? I tried to create a new string str_Widthtxt = "Width = " but wasn't sure how to add it to the str_list.append(str([WIDTH])) line. Tried using the + and then commas and various other things, but no luck. Finally do you know how to italicize results or text in python in Pro? I swore I had done this in the past, but I'm not finding anything that works now and not sure if its even possible? Thanks
... View more
04-22-2021
05:57 AM
|
0
|
2
|
6740
|
|
POST
|
I'm not the greatest with Python so I can easily get confused with indentations and such among other things. Currently I want to create a label expression to do the following and am only able to get it to work with 2 conditions and not the 3rd. Field Names [NAME] [ALT_NAME] [WIDTH] = Numeric I want to display these 3 fields only if they are not null or any combination of them that aren't null. Originally I was only doing this with [NAME] and [ALT_NAME], and the code for this allows me to display either NAME or ALT_NAME or Both if they aren't (None, "", "<Null>" def FindLabel ( [ALT_NAME], [NAME] ):
if [ALT_NAME] in (None, "") or [ALT_NAME] in (None, "0"):
return [NAME]
elif [NAME] in (None, "") or [NAME] in (None, "<Null>"):
return [ALT_NAME]
else:
return [NAME] +'\r\n'+ [ALT_NAME] This works fine. However when trying to add in the [WIDTH], I want it to only display that if it is not null or equal to 0. So far I've been trying too many things to list on here and nothing seems to work. I'm not sure if I'm indenting things wrong or using the .strip() wrong (either using it or not using it) and so on. I just want a code that only shows any combination or any of these that don't have blank or <Null> values (or 0 as well for the [WIDTH]). I know the code is probably a little messed up from the start, but again, I'm not all that familiar with Python...
... View more
04-21-2021
09:59 AM
|
0
|
4
|
6815
|
|
IDEA
|
I would love for Pro to expand the functionality of their keybinds to much like how ArcMap had them. I wrote about this back in 2019 when first using Pro in the general forums as I was thinking I was missing something or it was a bug, but it appears it's not actually a bug (since it's still the case). Here's my original link https://community.esri.com/t5/arcgis-pro-ideas/arcpro-keybind-accelerator-customization/idi-p/940266 To sum it up, it seems Pro has hard locked many of the keys that once could be customized by keybinds in ArcMap. Many of the special characters and such, but more importantly the group of the INS, DEL, HOME, END, PG UP and PG DOWN. Currently 4 of those are hard coded to quick pans left/right or up/down which only makes sense on some keyboards that have those keys in that configuration (2 rows of 3). Many other keyboards are set up with 3 rows of 2 (INS/Home/PG UP) for example on the top. So the hard code panning using these keys isn't very useful and would be much better opening them up to personalized customization for any other commands the user wishes instead (in ArcMap) these 6 keys were more my most commonly used tools and made life so much easier. Other keys such as the "Q" for both Alt/Ctrl and Shift is hard locked, as well as many of the other ones such as ,./ []\ and so on and would be much nicer to just allow these base keys to be keybound as well. For example I used to use the "." key for LRS and used 2 different functions for it, using the . and <alt>+. ,was easy on the hands, but now I have to use an awkward combination of Alt+. and either <Shift> or <Ctrl> which isn't as natural to use. Just hoping keybinds at some point can revert back to the power and functionality they had back in ArcMap is all...
... View more
04-16-2021
06:35 AM
|
0
|
0
|
6489
|
|
POST
|
Ok I guess it's not the same as the issue we had rolling back just Access with the ArcMap and *.accdb issue back then. I think we can use the current MS Access database and just have it linked to tables on SDE. This way we have the front end and then can see those tables in Pro. The only drawback is newly created datasets or ones that need schema changes wouldn't be able to be done on the fly and would have to pass through the SDE managing department first. At least it's something. Many times we want to see the updates immediately so the scripts unfortunately won't work, but the linked SDE tables should solve a good chunk of the issues though. Thanks for letting me know about the 64-bit Access not being able to be installed when any 32-bit MS Office is installed. I will document that as well...
... View more
02-24-2021
05:12 AM
|
0
|
0
|
2652
|
|
POST
|
Well thanks for getting back again with this Lance. I know option 1 is out of the question and I assume it's because we probably have a lot of legacy things that would make it too time consuming to migrate over to the 64-Bit MS Office 365 which is out of my hands. That leaves the question I will have to look into if one can actually install 64-Bit Access separately. I think back in ArcMap days I was able to do this when originally ArcMap wasn't able to read the newer *.accdb format now that I think about it. I will check with IT on this though and if that is possible, then I think it might solve the issue then. At least it's worth a shot then. If not, I'll have to look into other options where we can edit live data and have it immediately displayed on Pro as was the case with ArcMap... Thanks again...
... View more
02-23-2021
12:21 PM
|
0
|
2
|
2664
|
|
POST
|
Thanks for the ticket. The issue is, IT would have to do the change company wide for the 64 bit and that is out of my control and can't see them doing this just for a few of us. I'm sure there's a reason they have the 32-bit MS Office installed over the 64-bit, but again, that's a IT thing here. Hope this gets working at some point, I know a lot of people were excited to finally have Pro access Access like as in ArcMap...
... View more
02-22-2021
09:28 AM
|
0
|
0
|
2669
|
|
POST
|
Hey Lance, See that's what I've been doing and I'm unable to see that. I've been doing both on the C drive via quiet mode. I haven't tried it in /passive at all, but heard that wasn't the best way. The biggest issue as I mentioned, is when doing the x64 it then prevents Access itself from opening up and causes an error. This is where I'm at a loss. So it seems maybe something else is going on in the background then if you can get it to work and I am not able to see that. I just tried it again and for some reason I was able to see the MS Office 12.0 and 16.0 now. However, the issue is the same that when installing the 64-bit, I can no longer open access. Using the 32-bit one I am, but then I can't see the MS Office 12 or 16 in Pro:
... View more
02-22-2021
08:32 AM
|
1
|
2
|
8330
|
|
POST
|
Hey Lance, Yes this is what I have been doing. We're using the 32-Bit MS Office 365 here. I can't use the 64-bit because after installing it, Access fails to open, so I had to remove it each time I tested the 64-bit Microsoft engine. The 32-bit one allows Access to open, but I do not see as shown above, any of the Microsoft Database Engine options in the ODBC Database Connect. I don't have the power to switch over to the 64-bit, as this is managed by the IT dept of the company and we would all need to be on the same type. So with that, I'll just take it as a bug as you suggested and thanks for trying to help...
... View more
02-22-2021
05:36 AM
|
0
|
0
|
8335
|
|
POST
|
Yes, I'm currently running Pro 2.7.1 right now, so it should work, in less the last update messed something up which wouldn't surprise me...
... View more
02-19-2021
07:46 AM
|
0
|
0
|
8425
|
|
POST
|
I looked at that, and it seems that method would work to import the tables from Access, however, our access tables are live and constantly update and so I'd like to find away for it to work as it does in ArcMap unfortunately...
... View more
02-19-2021
07:45 AM
|
0
|
0
|
8425
|
|
POST
|
I know recently in Dec, 2020 I think, one could now connect to MS Access tables via Pro. I've been trying to get this to work and unable to see the ODBC connection to the Microsoft Office 12.0 Access Database. First I've successfully made the connection to use Excel tables in Pro via (https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/guide-to-connecting-to-excel-files-in-arcgis-pro/#point2). This of course required me to use the 32-bit accessdatabaseengine.exe from Microsoft and doing the silent install on my C:drive which worked. Looking at my ODBC Data Connections on my system, I see that in both the 32-Bit and 64-Bit have the MS Access Database listed for *.mdb and *.accdb. However in Pro, I still do not see any reference to any Microsoft Office 12.0 Access Database which from (https://support.esri.com/en/technical-article/000024144 )I should be seeing. Is there something I'm missing here? We are using MS 365 for Enterprise and in Program and Files it does show that the 32-Bit accessdatabaseengine.exe is installed (as I can now use excel tables in Pro). Thanks
... View more
02-19-2021
07:02 AM
|
0
|
14
|
11124
|
|
POST
|
Not sure if this is exactly the same thing, but seems like it and I am using 2.7. I've documented what I call Ghost Layers in the Dynamic Legend. This is where a legend shows the layers you want and looks good, and like the OP stated, upon exporting to a *.jpg, suddenly the legend shows the [...] meaning there are hidden layers (Fig 1.jpg). Expanding the legend, I see a lot of layers on my map that were not included in the legend at all. Looking at the layers in the legend, they don't appear to show up either, but they show in the legend itself on the map (Fig 2.jpg) - The red shows what should be displayed and what the legend shows is displayed, the blue is what the legend in the map is actually displaying. My solution that I find works, is to just delete the legend, then use your <Ctrl-z> to undo the delete and then I always find all those hidden "ghost" layers now displaying in my legend in the Contents Pane. They are always listed below my last layer I want displayed. So it's easy to just select all those unneeded layers and delete them and then resave the project and re-export and I haven't yet had a map with it coming back after doing this (Fig. 3). Note: My figures were taken from various maps I've experienced the issue with and not the same map, but the general principle is the same. Just my little fix for something similar or even the same issue. Hope it helps...
... View more
01-08-2021
06:52 AM
|
0
|
0
|
7129
|
|
POST
|
As of right now 12/15/2020 it turns out this functionality is not yet implemented in Pro. It's on the enhancements list though so it is being worked on for a future ArcGis Pro release, but for now, the only option to re-link LRS tables is to just add the new table, use the "Make Route Layer Event" and then create a new layer link and import the symbology from the old layer you wanted to update and copy over any Definition Queries from the old table to the new one. Portal Tab Issue - This turned out to be nothing more than just a lag due to remotely connecting to my work computer and not an actual issue...
... View more
12-15-2020
10:38 AM
|
1
|
3
|
6407
|
|
POST
|
Ok thanks I opened up an online ticket then since I'm just a user and may not have access to some details they want immediately on the phone. Hopefully someone on that end can solve the issue. If so I'll post the solution here for others to see...
... View more
12-11-2020
10:34 AM
|
1
|
0
|
6467
|
|
POST
|
Nope it just only allows me to "rename" or "copy" this is the same if I'm clicking on the LRS Events Table or the Default Table. You will also notice the red ! beside 2 other LRS Event tables. For some reason previous connection just seem to randomly get lost and I don't want to delete them yet until I have all the other maps updated in case I lose data. (another issue)
... View more
12-11-2020
09:02 AM
|
0
|
2
|
6477
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 12-05-2025 05:54 AM | |
| 2 | 12-11-2025 10:19 AM | |
| 2 | 12-11-2025 12:39 PM | |
| 2 | 12-04-2025 01:12 PM | |
| 6 | 11-17-2025 08:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-12-2026
07:12 AM
|