{"id":33,"date":"2009-12-18T12:47:00","date_gmt":"2009-12-18T12:47:00","guid":{"rendered":"http:\/\/geoplanit.co.uk\/?p=33"},"modified":"2009-12-18T12:47:00","modified_gmt":"2009-12-18T12:47:00","slug":"autocad-annotation-to-arcgis","status":"publish","type":"post","link":"https:\/\/www.geoplanit.co.uk\/?p=33","title":{"rendered":"AutoCAD Annotation to ArcGIS"},"content":{"rendered":"<p><b style=\"color: #999999;\"><span style=\"font-size: xx-small;\">A very long numbered list related to ArcGIS<\/span><\/b><br \/>The trouble with displaying or importing annotation from CAD to ArcGIS is that my carefully placed text in autocad moves when I place it in ArcGIS. <br \/>After a bit of searching I have found some solutions like this one here: <a href=\"http:\/\/forums.esri.com\/Thread.asp?c=93&amp;f=1728&amp;t=131939\">http:\/\/forums.esri.com\/Thread.asp?c=93&amp;f=1728&amp;t=131939<\/a> (ESRI Support pages)<br \/>I thought I\u2019d elaborate and do a step by step process, mainly so I don\u2019t forget!<\/p>\n<ol>\n<li>First open ArcCatalog <\/li>\n<li>Open the ArcToolBox <\/li>\n<li>Find under \u201cConversion Tools\u201d the \u201cImport from CAD\u201d tool<\/li>\n<li>Double Click on this \u201cImport from CAD tool\u201d<\/li>\n<li>Select your AutoCad file (the whole file not just parts)<\/li>\n<li>Then choose where you want the new Geodatabase file you are creating will go.<\/li>\n<li>Click Ok<\/li>\n<li>Now open up ArcMap<\/li>\n<li>Add the point layer under the \u201cCAD Staging\u201d Feature Dataset<\/li>\n<li>Notice that the points you have added are in the location you want your text to be in, (there are also points from other parts of your CAD drawing here as well, we\u2019ll clean this up in a bit)<\/li>\n<li>Right Click on your newly added point layer and select Joins and Relates \uf0e0 Join.<\/li>\n<li>The field we will be linking is the EntID field.<\/li>\n<li>Now select the File Geodatabase Table called \u201cEntity\u201d, this is located with your newly exported CAD file in the Geodatabase.<\/li>\n<li>You will also be using the \u201cEntID\u201d field, Keep all records and click OK.<\/li>\n<li>Now for clarity I tend to switch off from view those fields I don\u2019t need, right click on your point layer and select Properties.&nbsp; Select the Fields tab and then go through the list switching off all the fields, except for : Point.OBJECTID, Entity.Layer and Entity.RefName.&nbsp; Click Apply and then OK.<\/li>\n<li>Now right click on your point layer again and Open the Attribute Table, voila!&nbsp; You should have your text matched to your point data (if you notice funny code around your text, relating to font and size, don\u2019t worry I will deal with this, so keep reading).&nbsp;&nbsp; It\u2019s up to you how you clear up the data now, however I shall continue this so you get an idea of what can be done.<\/li>\n<li>I want a nice clean layer so, right click your point layer and select export data.&nbsp; Now I would select only the items I want to label (remember the point layer is a consolidated file of ALL your point data from AutoCAD not just text!)<\/li>\n<li>Choose a location to save this new file and select okay, and click \u2018yes\u2019 to add this new data.<\/li>\n<li>When looking at my text stored in the RefName field I can see that it has brought through some extra information like this: \u201c{\\fVerdana|b1|i0|c0|p34;QUARTER 1}\u201d.<\/li>\n<li>Start an edit session.<\/li>\n<li>Open the point file\u2019s attribute table.<\/li>\n<li>We want to get rid of first the front part of this code, so select one of the fields and select the first part of the code like this \u201c{\\fVerdana|b1|i0|c0|p34;\u201d once selected either right click and copy, or press \u201cControl+C\u201d on the keyboard.<\/li>\n<li>Select the RefName Column so the whole column is selected<\/li>\n<li>Now click on options and then Find and Replace.<\/li>\n<li>In find place the copied text \u201c{\\fVerdana|b1|i0|c0|p34;\u201d (or whatever text you have)<\/li>\n<li>And leave the Replace with blank.<\/li>\n<li>Now click \u201cReplace All\u201d<\/li>\n<li>You should now be left with something like this in your fields: \u201cQUARTER 1}\u201d.<\/li>\n<li>Now select and copy (or just type) the last bit of this data and repeat the process (\u201c}\u201d).<\/li>\n<li>So now stop editing (making sure you have saved it).<\/li>\n<li>Now right click on your point layer and select properties, now click on the labels tab.<\/li>\n<li>Check the label features in this layer box.<\/li>\n<li>Now click on the Placement Properties button, here I tend to choose \u201cPlace Label on top of the Point\u201d, click OK.<\/li>\n<li>I would also effectively switch off the point symbol by making it 1pt transparent with no outline.<\/li>\n<\/ol>\n<p>Phew, I hope that made some sense if I can clarify something please let me know!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A very long numbered list related to ArcGISThe trouble with displaying or importing annotation from CAD to ArcGIS is that my carefully placed text in autocad moves when I place it in ArcGIS. After a bit of searching I have found some solutions like this one here: http:\/\/forums.esri.com\/Thread.asp?c=93&amp;f=1728&amp;t=131939 (ESRI Support pages)I thought I\u2019d elaborate and [&hellip;]<\/p>\n","protected":false},"author":161,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,12,31,28,33,7,40,9],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","category-annotation","category-arcgis","category-autocad","category-dwg","category-export","category-gis","category-software","category-workflow"],"_links":{"self":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/users\/161"}],"replies":[{"embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":0,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}