|
POST
|
After going through the steps and reinstalling arc, we seem to be back in business. Thanks Robert
... View more
07-24-2020
08:08 AM
|
0
|
1
|
2668
|
|
POST
|
Thanks for this Robert. So did the incident say to uninstall arcgis first and then do all the remaining steps? Just wondering if those folders need to be renamed before the uninstall happens.
... View more
07-22-2020
02:44 PM
|
0
|
5
|
2668
|
|
POST
|
Not sure if I'm asking this question in the right place. I am having an error opening arcmap on PC's I have not previously logged into before. Image is attached showing the error messages. Other people can log onto the same PC's and arcmap will work for them. What I've tried so far: 1. deleted Normal.mxd > makes no difference. The setup/config doesn't get that far in the process when I launch arcmap. 2. renamed the folder H:\data\arcmap\ but again the setup/config doesn't get far enough in the process before erroring out. referring to this folder: Thanks
... View more
07-22-2020
01:12 PM
|
0
|
7
|
2744
|
|
POST
|
I can work with that. Our older mxd’s tend to be vbscript but we’ve used python over the last few years++. I can now tell which is being used and move forward accordingly. Thanks Joshua
... View more
05-15-2020
06:51 AM
|
0
|
0
|
1666
|
|
POST
|
Is there any way to determine using arcpy what the parser is set to? I'm guessing no and that it's more of a arc objects thing. Thanks
... View more
05-14-2020
01:45 PM
|
0
|
3
|
1730
|
|
POST
|
Thanks Joshua. I think that opens a whole new can of worms I don’t really want to get into ideally.
... View more
05-06-2020
08:11 AM
|
0
|
0
|
3137
|
|
POST
|
Thanks Dan. I’m going through the links you sent to see if there’s a way I can workaround with the describe object to get at what I’m looking for as it seems I can’t directly get at what I want using arcpy (according to Joshua).
... View more
05-06-2020
08:11 AM
|
0
|
1
|
3137
|
|
POST
|
Hi everyone, Could someone share with me code that I could use to get the Data Type for a layer. In this example below, I would want returned "CAD Polyline Feature Class". Thanks!
... View more
05-05-2020
02:31 PM
|
0
|
5
|
3198
|
|
POST
|
Here's what I came up with to identify if I'm dealing with a TableView: brknItemType = str(type(brknItem)) splitType = brknItemType.split('.')[-1] itemType = splitType[:-2] ProcessMessage('itemType = {}'.format(itemType),systemUsed,'N') This gives me: There's probably a prettier way to do it, but this should work for my needs.
... View more
04-30-2020
08:53 AM
|
1
|
2
|
946
|
|
POST
|
Hello everyone, ListBrokenDataSources returns a python list. What's the best way to determine if the item you are dealing with in the list is a TableView? I'm using .supports('workspacePath') and .supports('dataSource') to deal with shapefiles and geodatabase feature classes. I'm getting this error message when a TableView is found in the list: AttributeError: 'TableView' object has no attribute 'supports' How should I go about getting at the TableView properties to determine that it's a TableView? Thanks!
... View more
04-30-2020
06:53 AM
|
0
|
3
|
1021
|
|
POST
|
Thought I'd provide a final update as I found the issue which is raising this error. This script is running against approx 10000 mxd files on our network drive. I was able to figure out a file causing the error. It was a mxd which was created in June 2009 and last accessed in July 2009. When I try opening the mxd file with arcmap 10.5 I get this message, followed by arcmap opening a untitled map document: For now, I've just added code to handle the error and move onto the next mxd file. I suspect there's numerous mxd on the network that are this old and haven't been touched in that long. Me thinks they probably shouldn't be there anymore, but that's not my decision. I'm just happy I've got things working. Thanks!
... View more
04-27-2020
10:00 AM
|
0
|
0
|
2095
|
|
POST
|
Hello everyone, Is there a way to get from a mxd the sde connections that it uses and then establish those connections? I may not be making a lot of sense. I have a script that will go through a mxd file and repair broken datasources. If I have the mxd open in arcmap and run the script against the 'current' mxd it works fine because when I open the mxd in arcmap, right off the bat it makes me log into sde: So under that scenario, it works. But, the script is written in a way where along with running the script tool against 'current', you can also: - read the path to the mxd file you want to fix from a .config file - or, read a path to a folder you want to examine from the .config file (in which case it will loop through all mxd's in the folder) If I do not have the mxd file open in arcmap and have an untitled blank map open and run the script tool, it will read the mxd file to examine from the .config file but at some point soon after starting execution, the sde login form will display for you to log into sde, but since focus is on the script execution window it is not possible to put focus over to the login form and enter a username/password, so essentially at this point you have to kill the script as it's hung at this point. Another scenario is to run the python script from outside arcmap (the script is rather time consuming and I thought if it's run from outside arcmap just as a python script, then it wouldn't tie up arcmap for a half hour or so). And while it does work in this scenario, what I find is that when the script loops through the list of broken layers, at each layer it pops up the sde login form for you to log into. So if there's 200 broken layers in a mxd file, it's going to present you with a sde login form 200 times. My hope with this script was that it would be something where the user could set things up in the .config file, run the script and then not worry about having to do anything else, not sit there and babysit it logging into sde repeatedly. So, to refresh my question from the beginning. Is it possible to do this sde login behind the scenes in the script so that the user doesn't have to be pulled into it as they are now? Thanks, and apologies for how long winded this was
... View more
04-21-2020
03:35 PM
|
0
|
0
|
552
|
|
POST
|
Thought I'd provide an update. I was able to get remote desktop access to a pc at work and then tested the script from a pc that has 10.5 installed on it and the script executed correctly. So it seems there's something going on the citrix server regarding 10.2 (which I'm told by our IT has been decommissioned). Anyway, they're looking into the 10.2 thing on the citrix server and it seems to me that issue is external to my script. Thanks for the help.
... View more
04-21-2020
03:12 PM
|
1
|
2
|
2095
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-10-2020 03:34 PM | |
| 1 | 02-23-2021 11:53 AM | |
| 1 | 02-16-2021 09:15 AM | |
| 1 | 12-10-2020 07:46 AM | |
| 1 | 01-18-2019 09:54 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-22-2021
04:31 PM
|