<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS 10.1:Using XYZ coordinates to do MakeXYlayer-Runtime Error 000732. Why? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234389#M18182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Adam,&amp;nbsp; Thanks for your nice response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used to execute the Python-ArcPy scripts in the Python Window of ArcGIS 10.0 before.&amp;nbsp; I just had the ArcGIS 10.1 installed recently. I don't know the answer of your question regarding to: Are you running 64 bits? I guess my Computer Team installed the 32 bits of ArcGIS 10.1 in my "Windows 7" PC that is part of Microsoft NT 4 LAN System.&amp;nbsp; I just "LOAD" the script to the Python Window of ArcMAP (.mxd) of my new ArcGIS 10.1&amp;nbsp; to run.&amp;nbsp;&amp;nbsp; I saw the following new thing in my ArcGIS 10.1:&amp;nbsp; C:\Users\e1enxshc\Documents\ArcGIS\Default.gdb.&amp;nbsp; I have no ideas about this C:\Users... folder!!??&amp;nbsp;&amp;nbsp; I don't understand your Code: C:\python27\ArcGIS10.1\python.exe C:\YourScriptLocation.py.&amp;nbsp; Could you please explain what it is for me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help and respond again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2013 17:11:19 GMT</pubDate>
    <dc:creator>ScottChang</dc:creator>
    <dc:date>2013-01-22T17:11:19Z</dc:date>
    <item>
      <title>ArcGIS 10.1:Using XYZ coordinates to do MakeXYlayer-Runtime Error 000732. Why?</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234387#M18180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the following Excel .xls file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp; Pt_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BH1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -76.301725&amp;nbsp;&amp;nbsp; 39.392986&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BH2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -76.300981&amp;nbsp;&amp;nbsp; 39.392928&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BH3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -76.301694&amp;nbsp;&amp;nbsp; 39.392611&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..............&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ............&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BH9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -76.331157&amp;nbsp;&amp;nbsp; 39.396452&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10&amp;nbsp;&amp;nbsp; Well1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -76.332654&amp;nbsp;&amp;nbsp;&amp;nbsp; 39.395984&amp;nbsp;&amp;nbsp; 1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I executed the following Python-ArcPy script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;# import system modules 
import arcpy
from arcpy import env

# Set environment settings
# env.workspace = r"C:\TEMP\BS_Test.gdb"&amp;nbsp; # New!!!
 
try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Set the local variables
&amp;nbsp;&amp;nbsp;&amp;nbsp; # in_Table = "firestations.csv"
&amp;nbsp;&amp;nbsp;&amp;nbsp; tb = r"C:\TEMP\WritingGeometries\ApgRImmrpWGS.xls\ApgRImmrpWGS$"
&amp;nbsp;&amp;nbsp;&amp;nbsp; xc = "X"
&amp;nbsp;&amp;nbsp;&amp;nbsp; yc = "Y"
&amp;nbsp;&amp;nbsp;&amp;nbsp; zc = "Z"

&amp;nbsp;&amp;nbsp;&amp;nbsp; out_Layer = "Pointlocations_layer"
&amp;nbsp;&amp;nbsp;&amp;nbsp; saved_Layer = r"c:\TEMP\APGriMMRPBHsWell.shp" # not .layer!!!
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Set the spatial reference
&amp;nbsp;&amp;nbsp;&amp;nbsp; # spRef = r"Coordinate Systems\Projected Coordinate Systems\Utm\Nad 1983\NAD 1983 UTM Zone 11N.prj"
&amp;nbsp;&amp;nbsp;&amp;nbsp; spRef = r"Coordinate Systems\Geographic Coordinate System\World\WGS 1984" 
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Make the XY event layer...
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeXYEventLayer_management(tb, xc, yc, out_Layer, spRef)
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Print the total rows
&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetCount_management(out_Layer)
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Save to a layer file
&amp;nbsp;&amp;nbsp;&amp;nbsp; # arcpy.SaveToLayerFile_management(out_Layer, saved_Layer)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(out_Layer, saved_Layer) # New!!!

except:
&amp;nbsp;&amp;nbsp;&amp;nbsp; # If an error occurred print the message to the screen
&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in my newly installed ArcGIS 10.1 and I got Error 000732 - see the attached file for detals.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please kindly help and tell me where I made mistakes and how to resolve this problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 13:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234387#M18180</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2013-01-22T13:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1:Using XYZ coordinates to do MakeXYlayer-Runtime Error 000732. Why?</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234388#M18181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might have the same problem as I had. Are you running 64bit?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try and create a batch file: Change C:\YourScriptLocation.py to the location of your script. And run the batch file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;C:\python27\ArcGIS10.1\python.exe C:\YourScriptLocation.py&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 15:09:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234388#M18181</guid>
      <dc:creator>AdamGuo</dc:creator>
      <dc:date>2013-01-22T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1:Using XYZ coordinates to do MakeXYlayer-Runtime Error 000732. Why?</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234389#M18182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Adam,&amp;nbsp; Thanks for your nice response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used to execute the Python-ArcPy scripts in the Python Window of ArcGIS 10.0 before.&amp;nbsp; I just had the ArcGIS 10.1 installed recently. I don't know the answer of your question regarding to: Are you running 64 bits? I guess my Computer Team installed the 32 bits of ArcGIS 10.1 in my "Windows 7" PC that is part of Microsoft NT 4 LAN System.&amp;nbsp; I just "LOAD" the script to the Python Window of ArcMAP (.mxd) of my new ArcGIS 10.1&amp;nbsp; to run.&amp;nbsp;&amp;nbsp; I saw the following new thing in my ArcGIS 10.1:&amp;nbsp; C:\Users\e1enxshc\Documents\ArcGIS\Default.gdb.&amp;nbsp; I have no ideas about this C:\Users... folder!!??&amp;nbsp;&amp;nbsp; I don't understand your Code: C:\python27\ArcGIS10.1\python.exe C:\YourScriptLocation.py.&amp;nbsp; Could you please explain what it is for me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help and respond again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234389#M18182</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2013-01-22T17:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1:Using XYZ coordinates to do MakeXYlayer-Runtime Error 000732. Why?</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234390#M18183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's probably easier if you read the thread below. I ran and posted the same error you had and started that thread. The solution should be in there for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/75735-Make-XY-Event-Layer-in-Python-Crashes-But-Not-in-Model-Builder"&gt;http://forums.arcgis.com/threads/75735-Make-XY-Event-Layer-in-Python-Crashes-But-Not-in-Model-Builder&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 18:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234390#M18183</guid>
      <dc:creator>AdamGuo</dc:creator>
      <dc:date>2013-01-22T18:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1:Using XYZ coordinates to do MakeXYlayer-Runtime Error 000732. Why?</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234391#M18184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Adam,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I broght both the Data file and the Python script to the same C:\Temp folder and used the "Start" =&amp;gt; ArcGIS\ Python 2.7.2\IDLE(Python GUI) place to execute my Python-ArcPy script.&amp;nbsp;&amp;nbsp; I got the same Error 000732 - see the newly attached file for details. On the top of this Error Message, I saw "Python 2.7.2 (default, Jan 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win32" - Does it mean it runs on 64 bit?&amp;nbsp; Please help and respond on this strange error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 18:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234391#M18184</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2013-01-22T18:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1:Using XYZ coordinates to do MakeXYlayer-Runtime Error 000732. Why?</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234392#M18185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Adam and new ArcGIS 10.1 Users,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Per ESRI Technical Support, "Python 2.7.2 (defult, Jan 12, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win32" shown in the IDLE Python (GUI) was wrong in my ArcGIS 10.1 installed originally. My wrong ArcGIS 10.1 installed originally was deleted and a new ArcGIS 10.1 was downloaded from an ESRI source and installed in my "Windows 7" PC.&amp;nbsp; I ran my old Python-ArcPy script on the new IDLE Python (GUI) that shows "Python 2.7.2 (default June 12, 2011.15:00:59) [MSC v.1500 32 bit (Intel)] on win 32" successfully without any errors!!!!&amp;nbsp; I just want to tell you and new ArcGIS 10.1 Users this important thing in executing the Python-ArcPy scripts for Make XY Event Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 11:42:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-using-xyz-coordinates-to-do/m-p/234392#M18185</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2013-01-29T11:42:21Z</dc:date>
    </item>
  </channel>
</rss>

