<?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: Loss of attributes when importing Shapefiles in Civil 3D Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102483#M181380</link>
    <description>&lt;P&gt;I imported your shp file using MapImport (in Civil 3D 2018). I wrote the following code to find any polylines that do not have HOEJDE (elevation) attribute. None were found. This routine also moves your polylines to the elevation captured from the HOEDJE attribute value. You can change the _Tims layer name in the code to whatever you want, but be sure the layer exists before you run the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;					;find polyline of 0 elevation in attribs or nil HOEJDE on special layer
(vl-load-com)

(defun c:go ( / ccmdecho cmenuecho ls len ctr pl recno z)
  (setq ccmdecho (getvar "CMDECHO")
	cmenuecho (getvar "MENUECHO")
	)
  (setvar "CMDECHO" 0)
  (setvar "MENUECHO" 0)

  (setq	ls  (ssget "x" (List (cons 0 "LWPOLYLINE")))
	len (sslength ls)
	ctr 0
  )
  (while (&amp;lt; ctr len)
    (setq pl	(ssname ls ctr)
	  recno	(ade_odgetrecord pl "REFERENCEKURVE0_25" 0)
	  Z	(ade_odgetrecfield recno "HOEJDE")
    )
    (cond ((= z nil)
	   (vl-cmdf "Change" pl "" "P" "La" "_Tims" "") ;change _Tims to your layer. Be sure it exists.
	   )
	  ((= z 0)
	   (vl-cmdf "Change" pl "" "P" "la" "_Tims" "")
	   )
	  ((&amp;gt; z 0)
	   (vl-cmdf "Change" pl "" "P" "E" z "")
	   )
	  )
    


    
    (setq ctr (1+ ctr))
    (prompt
      (strcat "\n" (rtos ctr 2 0) " polylines processed...")
    )
  )
  (setvar "CMDECHO" ccmdecho)
  (setvar "MENUECHO" cmenuecho)
  (princ)
)

&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 May 2017 16:50:00 GMT</pubDate>
    <dc:creator>tcorey</dc:creator>
    <dc:date>2017-05-23T16:50:00Z</dc:date>
    <item>
      <title>Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7086421#M181363</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Followings happens:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I import GIS contours as shapefile, where the elevation is shown as attribute.&lt;/P&gt;&lt;P&gt;After the import, some polylines are missing their attribute?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked the GIS contours through data connection, (SHP)&amp;nbsp;and i can see all the attributes.&lt;BR /&gt;I have tried to import the shapefile several times, and it appears to be random each times which polylines that have no attributes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can it be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3D_View.PNG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/356491i9B93D30D90541B65/image-size/large?v=v2&amp;amp;px=999" role="button" title="3D_View.PNG" alt="3D_View.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SHP_import.PNG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/356492iDF6A5AECDEC9742C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SHP_import.PNG" alt="SHP_import.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 11:04:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7086421#M181363</guid>
      <dc:creator>samoh21</dc:creator>
      <dc:date>2017-05-16T11:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7086634#M181364</link>
      <description>&lt;P&gt;Why not create a Civil 3D surface from GIS data? If you go to Surfaces, there is an option under there for Create Surface from GIS Data.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 12:51:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7086634#M181364</guid>
      <dc:creator>Todd_Rogers</dc:creator>
      <dc:date>2017-05-16T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7087046#M181365</link>
      <description>&lt;P&gt;If you have permission to share the shape file then upload the shp file. It will be helpful in understanding the issue.&lt;/P&gt;
&lt;P&gt;PS: If shp doesn't upload then zip the file before uploading.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 15:01:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7087046#M181365</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2017-05-16T15:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7087468#M181366</link>
      <description>&lt;P&gt;I don't have shapefile data to test at the moment, so this is all from memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When importing a shapefile, there should be an option to place the line at elevation defined by attribute, then you select what &amp;nbsp;attribute sets the elevation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The properties your looking at are the geometric properties of the line, what elevation the line physically sits at.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when you import a shapefile with attributes, I THINK, the attributes that come with it are displayed on one of the other tabs of the properties window (Extended Data maybe.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if you poke around the other tabs, and find the elevation attribute with the correct data, but don't have the lines sitting at the right elevation in space, I'd look for the import at elevation option on the import dialog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, if this WAS the answer, I'd expect all contours to come in at 0 elevation. If the data was imported correctly, no idea why only some would be at the proper elevation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 17:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7087468#M181366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-16T17:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7087720#M181367</link>
      <description>&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad-civil-3d/troubleshooting/caas/sfdcarticles/sfdcarticles/Importing-an-ESRI-shapefile-with-elevation-values-s.html" target="_blank"&gt;https://knowledge.autodesk.com/support/autocad-civil-3d/troubleshooting/caas/sfdcarticles/sfdcarticles/Importing-an-ESRI-shapefile-with-elevation-values-s.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This workflow is the same as it was before Civil 3D was even thought of.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 18:52:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7087720#M181367</guid>
      <dc:creator>jmayo-EE</dc:creator>
      <dc:date>2017-05-16T18:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098063#M181368</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/271070"&gt;@jmayo-EE&lt;/a&gt;&amp;nbsp;I have used the same&amp;nbsp;work flow,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the problem&amp;nbsp;it is when i import the shapefiles with the data, not all the&amp;nbsp;attributes comes along wtih the polylines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have uploaded the files, maybe you could try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 17:15:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098063#M181368</guid>
      <dc:creator>samoh21</dc:creator>
      <dc:date>2017-05-21T17:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098103#M181369</link>
      <description>Are you selecting all the attributes to import?&lt;BR /&gt;&lt;BR /&gt;I'm with Tim. If your end result is a surface, make it directly from gis</description>
      <pubDate>Sun, 21 May 2017 18:06:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098103#M181369</guid>
      <dc:creator>Joe-Bouza</dc:creator>
      <dc:date>2017-05-21T18:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098231#M181370</link>
      <description>I meant Todd. Why do I get you two mixed up?</description>
      <pubDate>Sun, 21 May 2017 21:36:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098231#M181370</guid>
      <dc:creator>Joe-Bouza</dc:creator>
      <dc:date>2017-05-21T21:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098305#M181371</link>
      <description>&lt;P&gt;Samoh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your attachment has only the SHP file. Also needed are the SHX, DBF, and PRJ files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 23:38:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7098305#M181371</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2017-05-21T23:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7099341#M181372</link>
      <description>&lt;P&gt;FYI, I also agree w/ a GIS workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With most public data I have used, contours rarely if ever&amp;nbsp;import from a shp file with elev's assigned to the plines&amp;nbsp;and&amp;nbsp;I have always had to run the query (see 2nd part&amp;nbsp;in&amp;nbsp;link above) to assign the contou elev.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you perform the query correctly?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 13:09:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7099341#M181372</guid>
      <dc:creator>jmayo-EE</dc:creator>
      <dc:date>2017-05-22T13:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7099469#M181373</link>
      <description>&lt;P&gt;I would think that if some of the attributes are missing. That might be a problem with the original GIS files. If you post the files &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564312"&gt;@Pointdump&lt;/a&gt;&amp;nbsp;mentioned. We can confirm that.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 13:54:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7099469#M181373</guid>
      <dc:creator>AllenJessup</dc:creator>
      <dc:date>2017-05-22T13:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101557#M181374</link>
      <description>&lt;P&gt;Thanks guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should have attached all the files now, its only the xrefs to th SHP.&lt;BR /&gt;SHP is attached before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The contours are in 10x10 km, and have added a dwg with the area of the contours i have problems with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 11:37:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101557#M181374</guid>
      <dc:creator>samoh21</dc:creator>
      <dc:date>2017-05-23T11:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101765#M181375</link>
      <description>&lt;P&gt;&amp;lt;&amp;gt;.rar? how bout a regular zip file? I know i'm not downloading a trojan to see what you have.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 12:54:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101765#M181375</guid>
      <dc:creator>Joe-Bouza</dc:creator>
      <dc:date>2017-05-23T12:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101808#M181376</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/531208"&gt;@Joe-Bouza&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried zipping it but It's too large to post. We have goo AV software and it let the RAR past. Up to you if you open it or not.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 13:07:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101808#M181376</guid>
      <dc:creator>AllenJessup</dc:creator>
      <dc:date>2017-05-23T13:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101969#M181377</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1685"&gt;@AllenJessup&lt;/a&gt;&amp;nbsp;are you the OP too? I was responding to the op, I meant no ill, just dont like those sites for down loads.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does that mean go AV and let rar past?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 13:54:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101969#M181377</guid>
      <dc:creator>Joe-Bouza</dc:creator>
      <dc:date>2017-05-23T13:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101991#M181378</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/531208"&gt;@Joe-Bouza&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1685"&gt;@AllenJessup&lt;/a&gt;&amp;nbsp;are you the OP too?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does that mean go AV and let rar past?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No. Just trying to help the OP. I noticed that their responses take some time. So I thought I could provide a Zip after "UnZipping" the RAR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bad typing. Should be Good Anti-Virus. I decompressed the RAR and the AV had no complaints. It scans every file as it's created. I'm thinking the OP used the RAR format to get past the size limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I brought the SHP into a new drawing and tried querying it. But it's been running for a half an hour. So I have to kill it and move on. I'll try again during lunch.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 14:02:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7101991#M181378</guid>
      <dc:creator>AllenJessup</dc:creator>
      <dc:date>2017-05-23T14:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102079#M181379</link>
      <description>&lt;P&gt;OK. Now I need to know which Data Field contains the elevation. Looking at them I thought only HOEJDE made sense. But when I query the area within the rectangle defined in your drawing. Every contour has an elevation.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 14:35:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102079#M181379</guid>
      <dc:creator>AllenJessup</dc:creator>
      <dc:date>2017-05-23T14:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102483#M181380</link>
      <description>&lt;P&gt;I imported your shp file using MapImport (in Civil 3D 2018). I wrote the following code to find any polylines that do not have HOEJDE (elevation) attribute. None were found. This routine also moves your polylines to the elevation captured from the HOEDJE attribute value. You can change the _Tims layer name in the code to whatever you want, but be sure the layer exists before you run the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;					;find polyline of 0 elevation in attribs or nil HOEJDE on special layer
(vl-load-com)

(defun c:go ( / ccmdecho cmenuecho ls len ctr pl recno z)
  (setq ccmdecho (getvar "CMDECHO")
	cmenuecho (getvar "MENUECHO")
	)
  (setvar "CMDECHO" 0)
  (setvar "MENUECHO" 0)

  (setq	ls  (ssget "x" (List (cons 0 "LWPOLYLINE")))
	len (sslength ls)
	ctr 0
  )
  (while (&amp;lt; ctr len)
    (setq pl	(ssname ls ctr)
	  recno	(ade_odgetrecord pl "REFERENCEKURVE0_25" 0)
	  Z	(ade_odgetrecfield recno "HOEJDE")
    )
    (cond ((= z nil)
	   (vl-cmdf "Change" pl "" "P" "La" "_Tims" "") ;change _Tims to your layer. Be sure it exists.
	   )
	  ((= z 0)
	   (vl-cmdf "Change" pl "" "P" "la" "_Tims" "")
	   )
	  ((&amp;gt; z 0)
	   (vl-cmdf "Change" pl "" "P" "E" z "")
	   )
	  )
    


    
    (setq ctr (1+ ctr))
    (prompt
      (strcat "\n" (rtos ctr 2 0) " polylines processed...")
    )
  )
  (setvar "CMDECHO" ccmdecho)
  (setvar "MENUECHO" cmenuecho)
  (princ)
)

&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 May 2017 16:50:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102483#M181380</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2017-05-23T16:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102548#M181381</link>
      <description>&lt;P&gt;I gotcha.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from lack of response I assume the surface from GIS is not working for some reason?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 17:23:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102548#M181381</guid>
      <dc:creator>Joe-Bouza</dc:creator>
      <dc:date>2017-05-23T17:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Loss of attributes when importing Shapefiles</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102558#M181382</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Joe-Bouza wrote:
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from lack of response I assume the surface from GIS is not working for some reason?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It wouldn't work for me. No idea why. After selecting the SHP file the Next button remained greyed out. Tried three times with the same results.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 17:26:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/loss-of-attributes-when-importing-shapefiles/m-p/7102558#M181382</guid>
      <dc:creator>AllenJessup</dc:creator>
      <dc:date>2017-05-23T17:26:18Z</dc:date>
    </item>
  </channel>
</rss>

