sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Importing DWG file...

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    17 Posts 5 Posters 1.5k Views 5 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.
    • R Offline
      RonanR
      last edited by

      Hi All,

      Whenever I import a DWG file, its always hit & miss...

      Sometimes it works fine first time.
      Other times (like right now!) I get an error message saying its an unknown file / not a valid DWG file...

      If I open it in illustrator (always works), turn off some layers, re-export it out again and then import it into SU, it sometimes works....

      I read in this forum that the file may be zipped. It isn't.
      Basically i'm trying to understand why SU's behaviour is inconsistent. should I ask for DXF files instead?

      Any pointers appreciated.

      Best wishes,

      Ronan

      %(#BF00FF)[Please keep signatures minimal.
      Oh, and ditch incandescent light bulbs.]

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Whenever I import a DWG file I always make a new DWG files where I copy over ONLY the data that's of value for the import. (ensureing that I move everything near to the origin as well) I then purge and audit the file. Then I import it into SU. For my workflow it seem to have solved most issues with importing DWGs.

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • R Offline
          RonanR
          last edited by

          Hi thomthom,

          thanks for the reply, which assumes I have AutoCad... I don't, unfortunately.

          Ronan

          %(#BF00FF)[Please keep signatures minimal.
          Oh, and ditch incandescent light bulbs.]

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            Any other DWG authoring tool?

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • R Offline
              RonanR
              last edited by

              No. I have Adobe Illustrator to open DWG/DXF files. I can export them back out too from there.
              Problem is it takes time as its not meant for this type of use.

              SU just is inconsistent in its importing of dwg/dxf files... even a once valid file can produce an error next time round when importing...

              R

              %(#BF00FF)[Please keep signatures minimal.
              Oh, and ditch incandescent light bulbs.]

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                Maybe Try DoubleCad XT as go between ? (it's free)

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • GaieusG Offline
                  Gaieus
                  last edited by

                  Yeah, go for DoubleCAD. It has a free version which may be fully functioning for what you need. Even if you are not experienced in CAD apps, it's worth a little look at how things work if you use a lot of import (and therefore you need to "collaborate" with other people using CAD).

                  DoubleCAD can even import skp files natively (whenever you need some backward process).

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RonanR
                    last edited by

                    Hey guys,

                    Thanks for the time responding to my question...

                    Sounds like a great idea, but is Windows only... but i've seen the light and i'm now on Mac... β˜€

                    But more importantly, why exactly would I need this? Is this about simplifying the file prior to import, as suggested above?
                    In which case I can easily ask those sending me DWG or DXF drawings to do so prior to sending them.
                    Thing is, I need to really understand what the issue is in SU... So a small 'checklist' would be greatly appreciated...

                    Ronan

                    %(#BF00FF)[Please keep signatures minimal.
                    Oh, and ditch incandescent light bulbs.]

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      @ronanr said:

                      But more importantly, why exactly would I need this? Is this about simplifying the file prior to import, as suggested above?

                      It's a matter of cleaning up the DWG file before importing. In most working DWG there's lots of extra "junk" data that isn't needed for the import. And then there's also the matter of SU not liking real word co-ordinates.

                      @ronanr said:

                      In which case I can easily ask those sending me DWG or DXF drawings to do so prior to sending them.

                      It's still good to have the ability to check the file yourself. Even though I've told people how I'd like the file presented to me, most people get it wrong anyway.

                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • GaieusG Offline
                        Gaieus
                        last edited by

                        Yeah, like Thom says,it's always good to be able to control what you're doing as well as to be fully aware what the problems inside CAD can be.

                        @thomthom said:

                        And then there's also the matter of SU not liking real word co-ordinates.

                        You can control that during the import phase; in the Options,uncheck"Preserve drawing origin". This is important because dwg files are generally "geolocated" in the co-ordinate system and this way may end up miles (or hundreds of miles) away from your SU origin thus creating all the OpenGL issues like clipping and distorting...

                        Gai...

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          @gaieus said:

                          You can control that during the import phase; in the Options,uncheck"Preserve drawing origin". This is important because dwg files are generally "geolocated" in the co-ordinate system and this way may end up miles (or hundreds of miles) away from your SU origin thus creating all the OpenGL issues like clipping and distorting...

                          I don't trust this option, as some times there could be some random lines located by the origin. Or, like the DWG I just got dumped on me right now; some lines located 2000km !!! under 0! arggfh

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by

                            Well, in any case, never trust a dwg file entirely at all! πŸ˜„
                            If there are stray lines in outer space, those definitely need to be purged anyway.

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              @gaieus said:

                              Well, in any case, never trust a dwg file entirely at all! πŸ˜„

                              I never do. Like in this case. I now have to import it bit by bit as I manage to untangle the data I need.
                              Which is why, when you import DWG files, you do need a tool to edit them.

                              Thomas Thomassen β€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                RonanR
                                last edited by

                                OK both, thanks very much for your insight... i'll see what I can get the the other party to do when sending plans. Thankfully I only need minimal information from the DWG, so with some luck it'll work.

                                Best wishes from sunny London.

                                Ronan

                                %(#BF00FF)[Please keep signatures minimal.
                                Oh, and ditch incandescent light bulbs.]

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  @ronanr said:

                                  Best wishes from sunny London.

                                  What what what?! I certainly know where you've misplaced the rain at the moment... ...hail, in June... πŸ˜’

                                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by

                                    At least we only have "simple" rain here. So much about global warming.

                                    Gai...

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

                                      @gaieus said:

                                      At least we only have "simple" rain here. So much about global warming.

                                      No, Gaieus
                                      Here in the north it goes: Higher temperatures in the Arctic> more evaporation, more winds> more rain

                                      As to importing DWG files, a valid file should import OK, but SU ignores many object types, especially those created by AEC applications like AutoCad Architecture. Those should be "Exported to AutoCad" prior to sending you the file. Cleaning the file of unnecessary geometry makes it import faster, but should otherwise not be necessary. There seems to be some limit to file size, though, I have read somewhere that at somewhere bigger than 10 Mb the importer begins to choke.

                                      Note too that the new AutoCad 2010 version that came out this spring has a new file format that is not yet readable by SU. So if the person who is sending you files uses that, they should save the file in the 2007 format or older.

                                      An intermittent problem with the same file might indicate some other problem, like a problem with a removable disk/memory stick or a network glitch, if the file resides on a server.

                                      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
                                      • 1 / 1
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement