<?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: MAPIMPORT not drawing on correct layer when using data field for layer name in AutoCAD Map 3D Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13303734#M263</link>
    <description>&lt;P&gt;It works now! Thank you so much for your help on this.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 14:26:25 GMT</pubDate>
    <dc:creator>mary_hayes</dc:creator>
    <dc:date>2025-02-06T14:26:25Z</dc:date>
    <item>
      <title>MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13301782#M255</link>
      <description>&lt;P&gt;I'm having an issue where when I import a shapefile, it will not put the objects on the correct layer based on the attribute data, but instead places all of the items on the current layer.&amp;nbsp; Is there a reason AutoCAD would ignore this? Thank you in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 17:14:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13301782#M255</guid>
      <dc:creator>mary_hayes</dc:creator>
      <dc:date>2025-02-05T17:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302204#M256</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15839206"&gt;@mary_hayes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, there's a reason.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to &lt;EM&gt;CREATE OBJECT DATA&amp;nbsp;&lt;/EM&gt;in order for Map3D to&amp;nbsp;&lt;EM&gt;USE &lt;/EM&gt;object data. This is how you can&amp;nbsp;&lt;EM&gt;HARVEST&amp;nbsp;&lt;/EM&gt;the data from the shapefile's database file (DBF).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;lt;&amp;lt;When you &lt;U&gt;harvest&lt;/U&gt; the shapefile's data you are&amp;nbsp; &lt;U&gt;Creating Object Data.&lt;/U&gt;&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="201.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463373i918D668452FF0860/image-size/large?v=v2&amp;amp;px=999" role="button" title="201.jpg" alt="201.jpg" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;In addition to Creating Object Data&lt;/STRONG&gt;, you'll also need to tell Map3D which attribute in the Shapefile's database (DBF) you wish to separate. M3D will automatically create separate AutoCAD layers and place each individual imported ESRI object on it's proper AutoCAD layer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="202.jpg" style="width: 976px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463385iEEC741F655B0C340/image-size/large?v=v2&amp;amp;px=999" role="button" title="202.jpg" alt="202.jpg" /&gt;&lt;/span&gt;&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>Wed, 05 Feb 2025 20:59:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302204#M256</guid>
      <dc:creator>ChicagoLooper</dc:creator>
      <dc:date>2025-02-05T20:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302274#M257</link>
      <description>&lt;P&gt;I've already done that, and the object data is being imported. That's not the issue I'm having. I want the objects to go on the correct layer based on the value of make ready, but the value of make ready does not affect the layer they're being drawn on. I'm trying to follow this process, but I'm not getting the results I'm intending.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/23396/importing-shapefile-into-autocad-map-3d" target="_blank"&gt;Importing shapefile into AutoCAD Map 3D? - Geographic Information Systems Stack Exchange&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 20:55:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302274#M257</guid>
      <dc:creator>mary_hayes</dc:creator>
      <dc:date>2025-02-05T20:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302408#M258</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15839206"&gt;@mary_hayes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how you do it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="301.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463404i9F6AFF6D468051DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="301.jpg" alt="301.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are all_points?&lt;/P&gt;
&lt;P&gt;What's the Feature Class?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are they Points? Or Lines? Or Polygons? You didn't mention your shapefile's Feature Class.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If they're POINTS, be forewarned........the procedure above will insert the shapefile point Feature Class as plain vanilla AutoCAD points. If you don't want points and want the feature class inserted as BLOCKS, then you'll need to give Map3D additional info. Since you didn't mention whether you'd like all_points inserted as Blocks or inserted as vanilla points, the procedure above assumes you want Acad Points. Plain vanilla points, not blocks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;lt;&amp;lt;If it were me,&amp;nbsp; I'd insert them as Blocks. And not just any ol' blocks, I'd use an AutoCAD Attributed Block so I can give each individual block an appropriate label. I know this procedure works when inserting either plain vanilla points w/o labels or blocks with labels because I've imported shapefiles using BOTH methods. If this work flow still doesn't work for you, you'll need to share more screen shots of your shapefile's database. An examination of the DBF data as it appears in rows and columns will provide more info regarding your data, which in turn, will allow a more descriptive step-by-step procedure. Better yet, can you share your shapefile?&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sharing your shapefile would be the fastest and most effective way to resolve your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 22:22:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302408#M258</guid>
      <dc:creator>ChicagoLooper</dc:creator>
      <dc:date>2025-02-05T22:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302418#M259</link>
      <description>&lt;P&gt;Hi Mary,&lt;BR /&gt;What you're doing should work. Can you post a drawing and data?&lt;BR /&gt;Are you current on updates?&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 22:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302418#M259</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2025-02-05T22:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302442#M260</link>
      <description>&lt;P&gt;They are all points. They are being inserted as blocks, but I get the same issue whether or not I use blocks or vanilla points. I can't share the drawing itself since it's proprietary, but I get the same issue with a blank drawing, as well. Here are all the files made when I export the data from QGIS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 22:28:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302442#M260</guid>
      <dc:creator>mary_hayes</dc:creator>
      <dc:date>2025-02-05T22:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302574#M261</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15839206"&gt;@mary_hayes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for sharing your data.&lt;/P&gt;
&lt;P&gt;Your issue is the shapefile itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you MAPIMPORT all points.shp you have a 'space' between &lt;STRONG&gt;all&lt;/STRONG&gt; and &lt;STRONG&gt;points&lt;/STRONG&gt;. That space is fine-and-dandy for the shapefile's &lt;U&gt;Name&lt;/U&gt; but the &lt;U&gt;Attribute&lt;/U&gt; named &lt;STRONG&gt;make ready&lt;/STRONG&gt; is a different story. Although the Map3D's MAPIMPORT procedure shows an _ (underscore) between make and ready, there's actually no underscore in the shapefile's database. That underscore that you see when using AutoCAD's MAPIMPORT was inserted by the import procedure, not the shapefile's author. The shapefile's author forgot that attributes shouldn't have spaces because &lt;EM&gt;spaces&lt;/EM&gt; may introduce undesirable consequences to the next user.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a&amp;nbsp;&lt;EM&gt;BEST PRACTICE&lt;/EM&gt; to avoid all spaces in your attributes when creating a shapefile's database file (DBF). Replace any spaces with an underscore or dash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To verify you can open the Table View using another GIS-essy program to see whether there's a space or an underscore. For example, when I use the program&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Global Mapper&lt;/U&gt;, there's a 'space' which suggests AutoCAD M3D is inserting an underscore on its own due to that offending 'space.'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1. Shapefile opened in Global Mapper." style="width: 729px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463442iDA1CBDCA6D474899/image-size/large?v=v2&amp;amp;px=999" role="button" title="501.JPG" alt="1. Shapefile opened in Global Mapper." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1. Shapefile opened in Global Mapper.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Back in Map3D, I open the same shapefile as a shapefile using an FDO (Feature Data Object) connection, where the attribute is readable in the Table View. In the image below&amp;nbsp;&lt;STRONG&gt;make ready&lt;/STRONG&gt;&amp;nbsp;is readable despite a 'space' between make and ready. While shapefiles can handle that&amp;nbsp;&lt;EM&gt;space &lt;/EM&gt;the MAPIMPORT procedure in Map3D cannot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2. Shapefile using FDO connection in Map3D." style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463443i3BF63C644A3D2CB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="502.jpg" alt="2. Shapefile using FDO connection in Map3D." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;2. Shapefile using FDO connection in Map3D.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;SOLUTION:&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;I would suggest you EDIT the name of the shapefile's attribute using QGIS, Arc Pro, Global Mapper, OR any other suitable GIS-essy program. You may, or may not, edit that shapefile's attribute using M3D's BULK COPY command. It's up to you which program you want to use. Just be sure to make the edit. To be clear, the solution involves replacing the offending space between&amp;nbsp;&lt;STRONG&gt;make&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;ready&lt;/STRONG&gt; with an underscore.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;lt;&amp;lt;BTW, the Bulk Copy procedure in M3D is certainly doable, but it's clunky, meaning M3D will make you jump through hoops to complete it. Don't worry, the hoops are really big and you won't have any issue going through them. It's just the act of jumping through them is what makes it clunky, compared to 'no jumping' using other programs.&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the blocks, if you want to use blocks to represent your points (all points.shp) there's a catch. Actually two catches.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The first catch, you'll need to insert the specific desired block into modelspace first, before running MAPIMPORT. Inserting your block will invariably create a 'Block Definition' for that block. Without that block definition, MAPIMPORT won't know what to insert. Believe it or not, you can even DELETE the block after inserting it. Why? Because the definition STILL exists despite that deletion. If you really want to delete the block's definition, you'll need to run the PURGE command. Just 'establish' the block definition and you'll be fine.&lt;/LI&gt;
&lt;LI&gt;The second catch is to make sure your Block has an ATTRIBUTE TAG named &lt;STRONG&gt;make_ready.&lt;/STRONG&gt; That way the make_ready value in the shapefile can&amp;nbsp;&lt;EM&gt;JUMP&amp;nbsp;&lt;/EM&gt;into the make_ready attribute in the Block. Yeah, it's confusing because there's an attribute in the shapefile and there's another attribute in the block.....and BOTH attributes are named &lt;STRONG&gt;make_ready!&lt;/STRONG&gt; (Say that five times fast w/four fingers in your mouth while jumping through a hoop.) Those attributes have to have the SAME name with that SAME funky underscore between &lt;STRONG&gt;make&lt;/STRONG&gt; and &lt;STRONG&gt;ready&lt;/STRONG&gt;. Without identical attribute names and underscore, the jump from shapefile-to-block can't happen. Won't happen. Be sure to edit the &lt;U&gt;Attribute Tag&lt;/U&gt; in your block so it's identical to the shapefile's attribute.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Your site, correct?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3. Three layers in the Layer Props Manager. In modelspace, three different colors for the block. Bing aerial imagery in background." style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463445iB60E85E35670B864/image-size/large?v=v2&amp;amp;px=999" role="button" title="503.JPG" alt="3. Three layers in the Layer Props Manager. In modelspace, three different colors for the block. Bing aerial imagery in background." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;3. Three layers in the Layer Props Manager. In modelspace, three different colors for the block. Bing aerial imagery in background.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 14:28:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302574#M261</guid>
      <dc:creator>ChicagoLooper</dc:creator>
      <dc:date>2025-02-06T14:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302965#M262</link>
      <description>&lt;P&gt;Mary,&lt;/P&gt;
&lt;P&gt;Thanks for posting data.&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1271199"&gt;@ChicagoLooper&lt;/a&gt; is right. If you add an underscore between make and ready, which I did in QGIS, it works as expected. With a space, it goes on layer 0.&lt;BR /&gt;Dave&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-center" image-alt="Layer_1.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463502i560F70758C4F1E00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Layer_1.png" alt="Layer_1.png" /&gt;&lt;/span&gt;&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-center" image-alt="Layer_2.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463503iE94AD3C075303A41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Layer_2.png" alt="Layer_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 08:07:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13302965#M262</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2025-02-06T08:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: MAPIMPORT not drawing on correct layer when using data field for layer name</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13303734#M263</link>
      <description>&lt;P&gt;It works now! Thank you so much for your help on this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 14:26:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/mapimport-not-drawing-on-correct-layer-when-using-data-field-for/m-p/13303734#M263</guid>
      <dc:creator>mary_hayes</dc:creator>
      <dc:date>2025-02-06T14:26:25Z</dc:date>
    </item>
  </channel>
</rss>

