{"id":29,"date":"2006-04-12T17:15:04","date_gmt":"2006-04-13T01:15:04","guid":{"rendered":"http:\/\/fox-gieg.com\/tutorials\/?p=29"},"modified":"2020-06-25T09:34:21","modified_gmt":"2020-06-25T17:34:21","slug":"fix-dwg-files-in-maya","status":"publish","type":"post","link":"https:\/\/fox-gieg.com\/tutorials\/2006\/fix-dwg-files-in-maya\/","title":{"rendered":"Fix DWG Files in Maya"},"content":{"rendered":"<p>Getting an Autocad file into Maya without special conversion software isn&#8217;t impossible, at least for a simple model:<\/p>\n<p><b>Step 1.<\/b>  Go to the <b>Plug-In Manager<\/b>.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-01.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 2.<\/b>  Check that <b>dwgTranslator<\/b> and <b>objExport<\/b> are turned on.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-02.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 3.<\/b>  Switch Maya into <b>Modeling<\/b> mode.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-03.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 4.<\/b>  Choose the <b>Import option box<\/b>.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-04.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 5.<\/b>  Set the File Type to <b>DWG_DXF<\/b>, and set the Scale Factor to <b>0.001<\/b> (otherwise, Maya will blow your DWG up to an enormous size).  Click <b>Import<\/b> when you&#8217;re done.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-05.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 6.<\/b>  Import the file.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-06.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 7.<\/b>  Call up the <b>Outliner<\/b> window.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-07.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 8.<\/b>  DWGs will sometimes arrive in many pieces.  Use the Outliner to select all these pieces, and then use the <b>Group<\/b> command to lump the parts together.  (If your file&#8217;s parts are already grouped together, you can skip this step.)<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-08.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 9.<\/b>  With your new group of parts selected, choose <b>Combine<\/b> from the Polygons menu.  This will turn the separate parts into a single object.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-09.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 10.<\/b>  Make sure your new combined polygon object is selected, or else the next step won&#8217;t work.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-09b.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 11.<\/b>  Choose <b>Delete By Type\/History<\/b> from the Edit menu.  This will break the links between your new object and the old group of imported parts.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-10.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 12.<\/b>  Select your old group of parts and delete them.  (If your new object suddenly disappears instead, you didn&#8217;t delete its History properly.)<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-11.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 13.<\/b>  The next three steps set up your new object so it works properly in Maya.  First, choose <b>Center Pivot<\/b> from the Modify menu.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-12.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 14.<\/b>  Next, choose <b>Texture\/Automatic Mapping<\/b> from the Edit Polygons menu.  (You can use any of the commands in the Texture menu to prepare the model for texturing, but I think this is the easiest to start with.)<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-13.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 15.<\/b>  Finally, as an optional step, you can choose <b>Normals\/Reverse<\/b> from the Edit Polygons menu if the model appears to be shading strangely.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-14.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 16.<\/b>  That done, you&#8217;re ready to texture the model.  Switch Maya to <b>Rendering<\/b> mode.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-15.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 17.<\/b>  Choose <b>Assign New Material<\/b> from the Lighting\/Shading menu.  Here, I chose Lambert.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-16.jpg\" vspace=5 border=1\/><\/p>\n<p><b>Step 18.<\/b>  Add a texture and check your results&#8211;you may need to do some more tweaking before you&#8217;re satisfied, but at this point the model should behave normally in Maya.<br \/>\n<img src=\"http:\/\/www.fox-gieg.com\/tutorials\/tut-images\/maya_dwg-17.jpg\" vspace=5 border=1\/><\/p>\n<p>If you&#8217;re still not happy, you might want to try changing your original file&#8217;s export settings in Autocad.  (I&#8217;d recommend avoiding settings that create unnecessary triangles whenever possible.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting an Autocad file into Maya without special conversion software isn&#8217;t impossible, at least for a simple model: Step 1. Go to the Plug-In Manager. Step 2. Check that dwgTranslator and objExport are turned on. Step 3. Switch Maya into Modeling mode. Step 4. Choose the Import option box. Step 5. Set the File Type [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts\/29"}],"collection":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":1,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":1042,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts\/29\/revisions\/1042"}],"wp:attachment":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}