<?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 Convert Macro into Python Script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/convert-macro-into-python-script/m-p/492490#M38582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found a macro AutoAddLines (&lt;/SPAN&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=13012"&gt;http://arcscripts.esri.com/details.asp?dbid=13012&lt;/A&gt;&lt;SPAN&gt;) that is very useful for drawing perpendicular lines from points to existing street polylines (see attached jpg). However it is a little cumbersome to use with multiple datasets.&amp;nbsp; Does anyone know of a python script that will perform the same function or is there a way to convert the Macro into a script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark D. Faulkner&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Consultant&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 18:49:33 GMT</pubDate>
    <dc:creator>MarkFaulkner</dc:creator>
    <dc:date>2012-04-26T18:49:33Z</dc:date>
    <item>
      <title>Convert Macro into Python Script</title>
      <link>https://community.esri.com/t5/python-questions/convert-macro-into-python-script/m-p/492490#M38582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found a macro AutoAddLines (&lt;/SPAN&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=13012"&gt;http://arcscripts.esri.com/details.asp?dbid=13012&lt;/A&gt;&lt;SPAN&gt;) that is very useful for drawing perpendicular lines from points to existing street polylines (see attached jpg). However it is a little cumbersome to use with multiple datasets.&amp;nbsp; Does anyone know of a python script that will perform the same function or is there a way to convert the Macro into a script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark D. Faulkner&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Consultant&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 18:49:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/convert-macro-into-python-script/m-p/492490#M38582</guid>
      <dc:creator>MarkFaulkner</dc:creator>
      <dc:date>2012-04-26T18:49:33Z</dc:date>
    </item>
  </channel>
</rss>

