<?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: Location Reference Arcpy libraries in Roads and Highways User Group (RHUG) Questions</title>
    <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867422#M397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had similar problems after os upgrades on some servers, part of the problem for me was running tools as admin user made it difficult to troubleshoot running something as that user.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2019 17:03:04 GMT</pubDate>
    <dc:creator>KyleGonterwitz</dc:creator>
    <dc:date>2019-02-22T17:03:04Z</dc:date>
    <item>
      <title>Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867417#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing some python scripts using the location referencing tools - I found I can include the location referencing tools if I add Program Files (x86)\ArcGIS\LocationReferencing\Desktop10.6\Bin to my python path and import functions from the file locref.py - is this the correct way to use the locating referencing tools in python?&amp;nbsp; The functions are named a little differently in this file than they are when you run them from the toolbox, so I just want to be sure I've got the right tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if I import this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from locref import GenerateRoutes&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and use GenerateRoutes in a python script, am I correct to assume this is the exact same thing as runnning the generate routes toolbox tool, which results in a function from&amp;nbsp;arcpy.GenerateRoutes_locref?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't import GenerateRoutes_locref in my python script, unless it's hiding in another python lib other than the one I found.&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867417#M392</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2019-02-21T14:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867418#M393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kyle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a different path:&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\ArcGIS\LocationReferencing\Desktop10.5\ArcToolBox\Toolboxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can say it's worked for all my scripts and only caused 1 hiccup that I never pinpointed the root cause of. The script was fairly involved and I was working to automate it via Windows Task Scheduler from a server and when run in WingIDE, IDLE or Arc it worked fine but called via Task Scheduler something tripped up. Worked through support over it for a bit because of it being on server to vet through environment variables and 32 vs 64 bit python installs but had to abandon the case because of getting swamped elsewhere and I worked around it by simply publishing it as a GP then automating via Task Scheduler and a batch file to call the GP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867418#M393</guid>
      <dc:creator>ScottFierro2</dc:creator>
      <dc:date>2019-02-21T14:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867419#M394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I made a mistake, I think that is the path to the locfef library I mean to specify:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/437829_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So same question, with this as the correct path.&amp;nbsp; Sounds like at least Scott and I are on the same page here.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867419#M394</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2019-02-21T14:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867420#M395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm just suspicuous because the tools are called with different names in arcmap vs python, and I have fell subject to calling tools from a wrong library in an esri product after a software update before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:39:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867420#M395</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2019-02-21T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867421#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kyle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you guys are absolutely on the right track. As stated in our &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python/adding-and-removing-toolboxes.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;documentation&lt;/A&gt;,&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Python is initially only aware of tools stored in ArcGIS system toolboxes like the Data Management Tools, Conversion Tools, and Analysis Tools toolboxes. The most straightforward method for importing your Roads and Highways Location Referencing toolbox into a script is to simply use&amp;nbsp;&lt;SPAN style="background-color: #fafafa;"&gt;arcpy.ImportToolbox(). Once you've done that you can access any of the Location Referencing tools as &lt;SPAN style="background-color: #fefefe;"&gt;arcpy.&amp;lt;toolname&amp;gt;_&amp;lt;alias&amp;gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;A super simple example:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# Import arcpy module&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="comment token"&gt;# Check out any necessary licenses&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ImportToolbox&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"C:\Program Files (x86)\ArcGIS\LocationReferencing\Desktop10.6\ArcToolbox\Toolboxes\Location Referencing Tools.tbx"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CheckOutExtension&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Highways"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Local variables&lt;/SPAN&gt;
network &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:\myRHData\ALRS.gdb\LRSN_Routes"&lt;/SPAN&gt;
output_table &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:\myRHData\ALRS.gdb\Concurrencies_Output"&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Execute the tool&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CalculateRouteConcurrencies_locref&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;network&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; output_table&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"FIND_DOMINANCE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CheckInExtension&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Highways"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;If in doubt on the naming for a tool, a quick and easy way to expose the python reference is to use the ArcMap Python window. Simply drag and drop the Location Referencing GP you are unsure of into the window:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/437885_pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;Hoping that helps answer your original question or at least gets other folks up and running using Python and Roads and Highways,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;Amit @ Esri&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;p.s. For anyone interested in learning more about the Location Referencing toolbox discussed throughout this thread please visit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fefefe; color: #4d4d4d; "&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/location-referencing-roads-toolbox/an-overview-of-the-location-referencing-toolbox.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/location-referencing-roads-toolbox/an-overview-of-the-location-referencing-toolbox.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;An overview of the Location Referencing toolbox—Location Referencing for Roads and Highways | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867421#M396</guid>
      <dc:creator>AmitHazra</dc:creator>
      <dc:date>2021-12-12T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867422#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had similar problems after os upgrades on some servers, part of the problem for me was running tools as admin user made it difficult to troubleshoot running something as that user.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2019 17:03:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867422#M397</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2019-02-22T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867423#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on the same type of process using python to call the&amp;nbsp;RelocateEvents_locref from the locref toolbox but, I can't get it to work due to not being able to get a highway license, which we have 4 available.&amp;nbsp; Also, I'm getting: TypeError: RelocateEvents() takes no arguments (9 given).&amp;nbsp; But since I'm unable to check out a license, the "no arguments" error may just be a repercussion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 12:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867423#M398</guid>
      <dc:creator>soniadickerson1</dc:creator>
      <dc:date>2019-04-16T12:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867424#M399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can follow the same format as the RelocateEvents example 2 stand alone python script at the bottom of this help topic&amp;nbsp;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/location-referencing-roads-toolbox/relocate-events.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/tools/location-referencing-roads-toolbox/relocate-events.htm&lt;/A&gt;&amp;nbsp;for checking out the Roads and Highways license for the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nathan @ Esri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 00:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867424#M399</guid>
      <dc:creator>NathanEasley</dc:creator>
      <dc:date>2019-04-18T00:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867425#M400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was using a 10.4 python version which could not access the license.&amp;nbsp; Now that I'm using the 10.5 version, I can.&amp;nbsp; HOWEVER, I get the same error when importing from a toolbox.&amp;nbsp; When I use the example2 script, it also fails, but with the following error:&amp;nbsp; AttributeError: 'module' object has no attribute 'RelocateEvents_locref'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on that one?&amp;nbsp; Thanks so much for getting back with me on this.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 12:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867425#M400</guid>
      <dc:creator>soniadickerson1</dc:creator>
      <dc:date>2019-04-18T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867426#M401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's always more than one way to do something in GIS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a python scripting "style" where I explicitly import the functions I use from arcpy - rarely do I ever start a script with:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Rather, I would script&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from arcpy import ListFeatureClasses, DeleteField_management, env,&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and as I script I would explicitly import each of the functions I need for the script either globally or within a function definition.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not right or wrong, It's just how I do it.&amp;nbsp; It's probably be cause I originally learned fortran and they beat "Implicit None" into me... plus importing all of arcpy takes many more milliseconds, and I have things to do other than import all of arcpy all the time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for me, I prefer&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from locref import GenerateRoutes,&amp;nbsp;RelocateEvents&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;as opposed to the method&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;arcpy&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;ImportToolbox&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"C:\Program Files (x86)\ArcGIS\LocationReferencing\Desktop10.6\ArcToolbox\Toolboxes\Location Referencing Tools.tbx"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order for my method to work however, I need to make sure the locref library in that toolbox location is in my python path for the interpreter environment I am using.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 13:19:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867426#M401</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2019-04-18T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867427#M402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My original post here was a sort of comment about the python functions being called/named differently than the toolbox tools or the documented names.&amp;nbsp; You might try importing the locref lib, then try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from locref import&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;RelocateEvents&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RelocateEvents(in_network, event_name, last_invoked_time, lrs_time, last_lrs_time, output_format, export_file, out_features, include_event_geometry)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 13:27:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867427#M402</guid>
      <dc:creator>KyleGonterwitz</dc:creator>
      <dc:date>2019-04-18T13:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867428#M403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would log a case with Esri technical support for that one.&amp;nbsp; It sounds like there might be a problem with getting the tool imported/accessed before it can even run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nathan @ Esri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 15:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867428#M403</guid>
      <dc:creator>NathanEasley</dc:creator>
      <dc:date>2019-04-18T15:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Location Reference Arcpy libraries</title>
      <link>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867429#M404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We figured it out.&amp;nbsp; We have both ArcGIS Pro (64bit)&amp;nbsp;and ArcGIS desktop (32bit) installed and it was causing some licensing/library confusion with python and the idle editor.&amp;nbsp; So we installed pyscripter 32bit version and were able to access the licenses and libraries required to run this.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, Kyle and Nathan.&amp;nbsp; Hopefully this will help others along the way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 17:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/roads-and-highways-user-group-rhug-questions/location-reference-arcpy-libraries/m-p/867429#M404</guid>
      <dc:creator>soniadickerson1</dc:creator>
      <dc:date>2019-04-18T17:53:50Z</dc:date>
    </item>
  </channel>
</rss>

