POST
|
Hi Greg Thank you for your reply for the format to designate mxd project files in detail and the error message. For the error message, the files are not existed when the error messages are appeared, they were existed when the mxd projects were developed. Cheers Yoshi
... View more
10-22-2014
12:56 PM
|
0
|
0
|
294
|
POST
|
I have found an error message in the method with Python IDLE program as the following. When this message appears, some data sources are in an external drive which is not available at this time. Is it the reason for this error message? ============== Error message (from here) ============================== Traceback (most recent call last): File "C:/Python27/ArcGIS10.2/Scripts/PrintSourceFiles3.py", line 10, in <module> print "Data Source: " + lyr.dataSource File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\arcobjects\_base.py", line 78, in _get (attr_name, self.__class__.__name__)) NameError: The attribute 'dataSource' is not supported on this instance of Layer. ============== Error message (up to here) ==============================
... View more
10-16-2014
07:49 PM
|
0
|
0
|
294
|
POST
|
Thank you Christian for your reply. I have tried to follow your methods, however, still cannnot find the Output. For the Python window in ArcGIS, Output could not displayed in the same window. Please check the image. I have applied a few methods into the parenthesis of "mxd = arcpy.mapping.MapDocument" line: ("CURRENT") and with/without r, ("C:\ArcGIS\example2.mxd") and (r"C:\ArcGIS\example2.mxd"). On the contrary, for the P ython IDLE program, Output was displayed in another window. I will use this methods for a while. I appreciate any further advice for improvement, including solutions for the Python window in ArcGIS.
... View more
10-16-2014
07:13 PM
|
0
|
2
|
294
|
POST
|
Hi Christian Thank you for your reply. If that script works, for the MXD file with several source files will show multiple source files in the Output. I am a little new in Python script. I open python window: "Geoprocessing" - "Python", and copy your script lines by lines with one of MXD files on PC. My question this time is where the Output is displayed. I check some windows, and could not find the Output. I opened python window from the python.exe file directly and try to run the script in the window with "File Edit Format Run Options Windows Help" menu, but could not find Output file with "Run" - "Run module". In this case, an error message is displayed in another window as the following, and this method does not seem to be correct. Correct method may be conducted in the Python window in ArcGIS as the above. If this is correct, my question is where the Output is found. Traceback (most recent call last): File "C:/Python26/Scripts/print_source_file01.py", line 1, in <module> import arcpy ImportError: No module named arcpy This may be a basic question, and look for a reply. Thanks in advance. Yoshi
... View more
10-15-2014
07:10 PM
|
0
|
0
|
294
|
POST
|
Hello I want to get a list of source files in the table of contents (TOC) with ArcGIS 10.2. Source files are displayed in TOC with "List by source" mode. I want to get simply the list of source files. Moreover, source files of vector files are displayed in the TOC, but source files of raster files and tables (csv, xls, etc.) are not displayed in TOC, and only can found by checking the properties of the files. Please advise me if you know the methods to obtain the source file list of TOC. Thanks in advance. Yoshi
... View more
10-14-2014
04:54 PM
|
0
|
10
|
8295
|
POST
|
Hi Melita Thank you for your advice, the problem could be fixed by changing the coordination systems. I thought the shape file is newly developed and incorporated into the project, therefore, I did not care about the coordination system setting. But changing the coordination systems to GDA1994, the points could be displayed on the map. Yoshi
... View more
08-27-2014
09:21 PM
|
0
|
0
|
56
|
POST
|
Maybe basic question on the unit of coordination system, m or degree? I have made one shapefile of points with FID, Shape*, Latitude and Longitude. I tried to show these points in a map, however, the points are not displayed. I checked the property of the shapefile and found that the unit of Extent in Source tab of Layer properties are "m", besides the actual data in the shapefile is "degree". Please find the attachment in detail. I have found similar questions in the forum, but the answers did not address this problem. https://community.esri.com/message/232479?sr=search&searchId=26bbc7ee-40bb-427d-b91e-041f349b345a&searchIndex=0#232479 Thank you for your answers in advance. Yoshi
... View more
08-27-2014
12:55 AM
|
0
|
2
|
3037
|
POST
|
I'm afraid to confuse the thread: I've tried "add-in" for ArcGIS 10 to have sketch method of 9.3, but it could not be installed even after re-starting ArcGIS. This is not a question, but I post this information supposing might be help to think about the conditions of the original question.
... View more
07-03-2014
11:47 AM
|
0
|
0
|
38
|
POST
|
Thank you for your reply. Yes, this is after "start editing".
... View more
07-03-2014
11:34 AM
|
0
|
0
|
38
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|