sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Importing DWG

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    16 Posts 8 Posters 3.2k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AnssiA Offline
      Anssi
      last edited by

      The import units (the default is Feet) and other import options are hidden behind the Options button on the right bottom corner area of the import File dialog box.

      Anssi

      securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

      1 Reply Last reply Reply Quote 0
      • T Offline
        tomot
        last edited by

        Thanks, sometimes I think my little grey cells are getting a bit thin ! 😒

        [my plugins](http://thingsvirtual.blogspot.ca/)
        tomot

        1 Reply Last reply Reply Quote 0
        • J Offline
          jdadesignstudio
          last edited by

          You can also fix this in CAD-in CAD go to format units, and check what they are. If you put it into architectural, then it should import properly into SU if SU is in the feet mode.

          1 Reply Last reply Reply Quote 0
          • AnssiA Offline
            Anssi
            last edited by

            @jdadesignstudio said:

            You can also fix this in CAD-in CAD go to format units, and check what they are. If you put it into architectural, then it should import properly into SU if SU is in the feet mode.

            Unfortunately not. The SU importer (and exporter) ignores the unit variables embedded in DWG files. The LayOut exporter understands them partly (it creates correct variables if your units are inches or millimeters). Exports from SU use the current model units, but the unit is not recorded into the file, so when importing them to ACAD, you have to take care.

            Anssi

            securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              If you import with the wrong units set don't use the Scale tool but use the Tapemeasure tool [within the imported component edit if applicable] - pick two points that are a known distance apart and type in the required 'real' distance; you are asked if you want to rescale - say yes and the picked distance is turned into the typed in amount... and the rest also scales to match - much easier that using the Scale tool and having to work out conversion factors etc...

              TIG

              1 Reply Last reply Reply Quote 0
              • J Offline
                jdadesignstudio
                last edited by

                @anssi said:

                @jdadesignstudio said:

                You can also fix this in CAD-in CAD go to format units, and check what they are. If you put it into architectural, then it should import properly into SU if SU is in the feet mode.

                Unfortunately not. The SU importer (and exporter) ignores the unit variables embedded in DWG files. The LayOut exporter understands them partly (it creates correct variables if your units are inches or millimeters). Exports from SU use the current model units, but the unit is not recorded into the file, so when importing them to ACAD, you have to take care.

                Anssi

                Really? Ive had cad files that were originally created by engineers so they are in engineering units and when I import them into Sketchup they dont match up correctly. Then Ive gone into the CAD file, changed the unit format to architectural, save and re-import into SU and they come in correctly....

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bjornkn
                  last edited by

                  I always thought (and have been told) that DWG does not store the unit type in the file.
                  None of the DWG/DXF viewers/converters I've been using have been able to read the units from the files. It is just numbers.

                  That a change of units in the dwg exporters results in a correct import into SU only shows that you happened to have your import units set to the same type as it was exported as.

                  All DWG files I've got from architects here in Norway use either mm (single buildings, plans etc) or m (site plans, terrains etc), which makes it quite easy to import correctly in the first place, once you know what the file contains. I usually prefer to use cm, which causes no problems at all in SU.

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    As far as I know too a DWG/DXF contains 'numerical' information for points etc that is devoid of 'units' so a line is simply 123.4 long - if you are working in mm it's 123.4mm, or if it's m it's 123.4m, or if it's inches 123.4". That's why it's important to know the units that the author was assuming while drawing as you need to tell the importer.
                    In the UK [as Norway] a surveyor usually works in m while an architect works in mm, if you import a CAD file into another CAD file that was assuming different units the result is scaled oddly - so the site file might be 1000 times too small when added to the building file or the building file 1000 times too big when added to the site file !
                    CAD programs obviously have ways of setting the units used in making their geometry so that the correct units can be suffixed to dims or area reports, BUT as far as I know the SKP DWG/DXF importers do assume the units as set in the options, which by default is SUp's base unit of 'inches'...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bjornkn
                      last edited by

                      When you import any DWG/DXF file into SU you need to tell SU which unit is being used in the file.
                      You don't have to do any conversion yourself, as SU will do it all for you.
                      It is no problem to import a file using inches into a model that uses cm (or whatever you're using), You just go into the Options and select Inches.
                      If you don't know the units used you could either try different units until you hit the right one, or just use the Tape Measure to scale it correctly. If in doubt I load the file into a DWG/DXF viewer first to look at some dimensions texts (which will not be imported into SU) etc.

                      1 Reply Last reply Reply Quote 0
                      • AnssiA Offline
                        Anssi
                        last edited by

                        @bjornkn said:

                        I always thought (and have been told) that DWG does not store the unit type in the file.
                        None of the DWG/DXF viewers/converters I've been using have been able to read the units from the files. It is just numbers.

                        I don't remember when this was introduced, but newer DWG/DXF files have information about the model unit embedded in the file header. It is in the form of variables:
                        MEASUREMENT 0 for Imperial, 1 for Decimal. This has existed since time immemorial
                        INSUNITS 0 unspecified 1 inches 2 feet 3 miles 4 Millimeters .... 20 Parsecs

                        The SketchUp exporter does not record this information, so when you insert a SU-exported DWG into another in AutoCad, it uses another variable, INSUNITSDEFSOURCE to determine how to scale it - this defaults to Inches 😞 and is stored in the Registry whereas the two prementioned are within the drawing file.

                        Anssi

                        securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

                        1 Reply Last reply Reply Quote 0
                        • honoluludesktopH Offline
                          honoluludesktop
                          last edited by

                          @bjornkn said:

                          I always thought (and have been told) that DWG does not store the unit type in the file.
                          None of the DWG/DXF viewers/converters I've been using have been able to read the units from the files. It is just numbers................

                          That's it. Never really thought of this before, however all Cad models are actual size, but perhaps in terms of their basic units. Therefore a 10 unit model in inches is 10 inches, but the same model is 10 mm if its units are mm. So, if your model is prepared using units by inches, and you need to model in mm, you must convert the quantity of units in inches, to their equivalent quantity units in mm.

                          Btw, at least in the US, Engineering as well as Architectural models are in units of inches, or possibly feet.

                          Am I wrong?

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jdadesignstudio
                            last edited by

                            Sorry I mispoke a bit, but I did just do a little test to recreate what I have done in the past (and make sure I wasnt making things up in my head 😄 ). In CAD I mispoke when I was talking about architectural vs. engineering-I should have said it is the insertion scale that you change under format units.

                            But if you draw a box 10'x10' in CAD, and have the insertion scale set to feet (which often people do if their units are not in the architectural or engineering format) the box will come into SU recognizing the feet as inches, making the box 1/12 the size it should be. I think thats what we all agree on. However, if you simply change the insertion scale in CAD to inches instead of feet, save and reimport into SU, the file will import correctly. Obviously you could use any of the other methods provided in this thread, but this does work as well.

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              Nina792
                              last edited by

                              HI I WAS WONDERING IF SOMEONE CAN HELP IMPORTING THIS FILE TO SKETCHUP... THANKS IN ADVANCE


                              lineas plan planas1 del señor.dwg

                              1 Reply Last reply Reply Quote 0
                              • jujuJ Offline
                                juju
                                last edited by

                                @nina792 said:

                                HI I WAS WONDERING IF SOMEONE CAN HELP IMPORTING THIS FILE TO SKETCHUP... THANKS IN ADVANCE

                                Welcome to sketchUcation! Here you go with some help so you don't have to rely on other people:

                                1. Convert DWG file to DXF. You can use a free program like DraftSight to do this.
                                2. Navigate to the pluginstore, search: DXF
                                3. Read through the results and decide which of the solutions you would like to use.

                                And there you go! You're welcome!

                                Save the Earth, it's the only planet with chocolate.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement