<?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 Using Scripts (Python) to convert .dwg to .shp in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/using-scripts-python-to-convert-dwg-to-shp/m-p/444821#M25410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some .dwg files and I would like to do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; Convert .dwg files into .shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Then extract only the contours from the polyline feature class.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to using python or scripts to do conversion but I'm not sure how.&amp;nbsp; Any scripts (python) samples would be great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Winnie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Apr 2013 15:55:17 GMT</pubDate>
    <dc:creator>WinnieLau</dc:creator>
    <dc:date>2013-04-22T15:55:17Z</dc:date>
    <item>
      <title>Using Scripts (Python) to convert .dwg to .shp</title>
      <link>https://community.esri.com/t5/data-management-questions/using-scripts-python-to-convert-dwg-to-shp/m-p/444821#M25410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some .dwg files and I would like to do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; Convert .dwg files into .shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Then extract only the contours from the polyline feature class.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to using python or scripts to do conversion but I'm not sure how.&amp;nbsp; Any scripts (python) samples would be great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Winnie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 15:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-scripts-python-to-convert-dwg-to-shp/m-p/444821#M25410</guid>
      <dc:creator>WinnieLau</dc:creator>
      <dc:date>2013-04-22T15:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using Scripts (Python) to convert .dwg to .shp</title>
      <link>https://community.esri.com/t5/data-management-questions/using-scripts-python-to-convert-dwg-to-shp/m-p/444822#M25411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your over thinking it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simply open the dwg in arcgis.&amp;nbsp; use the selection dialog to select the layer you want from the dwg (contours) then right click and export features and save as a shape file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IF you have a whole bunch of drawings that have the contour layer you can open them all in autocad at the same time.&amp;nbsp; if they come in as blocks you can explode them and then do an export and use the query to only export the contours.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chances are you the dwg will not be clean anyway and there will be some contours in a different layer and there will be some other things in the contours layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have some .dwg files and I would like to do the following:&lt;BR /&gt;&lt;BR /&gt;1.&amp;nbsp; Convert .dwg files into .shp&lt;BR /&gt;2.&amp;nbsp; Then extract only the contours from the polyline feature class.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;I would like to using python or scripts to do conversion but I'm not sure how.&amp;nbsp; Any scripts (python) samples would be great!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Winnie&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 18:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-scripts-python-to-convert-dwg-to-shp/m-p/444822#M25411</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-04-22T18:54:58Z</dc:date>
    </item>
  </channel>
</rss>

