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

    Plugin interfering with DWG import (solved)

    Scheduled Pinned Locked Moved Plugins
    24 Posts 5 Posters 3.2k 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
      RickW
      last edited by

      I've not had problems with .dwg import on my PC, but I will investigate this on Mac.

      RickW
      [www.smustard.com](http://www.smustard.com)

      1 Reply Last reply Reply Quote 0
      • EdsonE Offline
        Edson
        last edited by

        @rickw said:

        I've not had problems with .dwg import on my PC, but I will investigate this on Mac.

        rick,

        thanks for chiming in. I hope you can find out what is happening. pathcopy is very useful.

        edson mahfuz, architect| porto alegre • brasil
        http://www.mahfuz.arq.br

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

          Edson

          This has every version FOO'd...


          pathcopy.rb

          TIG

          1 Reply Last reply Reply Quote 0
          • scottliningerS Offline
            scottlininger
            last edited by

            Hey Edson,

            Does it fail with all DWGs, or just one in particular?

            I installed Rick's script on SU8 Pro on my mac. Same OS version as you, and the DWG import worked for me. Could you share the file?

            • Scott Lininger
              SketchUp Software Engineer
              Have you visited the Ruby API Docs?
            1 Reply Last reply Reply Quote 0
            • EdsonE Offline
              Edson
              last edited by

              @tig said:

              Edson

              This has every version FOO'd...

              bad news. it does not work either. sketchup crashes every time.

              edson mahfuz, architect| porto alegre • brasil
              http://www.mahfuz.arq.br

              1 Reply Last reply Reply Quote 0
              • EdsonE Offline
                Edson
                last edited by

                @unknownuser said:

                Hey Edson,

                Does it fail with all DWGs, or just one in particular?

                I installed Rick's script on SU8 Pro on my mac. Same OS version as you, and the DWG import worked for me. Could you share the file?

                scott,

                yes, I have basically been using one file for my tests but it fails with all dwgs. I can surely share the file.


                03a_ANEXO-III-LEVANTAMENTO-TOPOGRÁFICO1.dwg

                edson mahfuz, architect| porto alegre • brasil
                http://www.mahfuz.arq.br

                1 Reply Last reply Reply Quote 0
                • scottliningerS Offline
                  scottlininger
                  last edited by

                  Hrm. Edson, I grabbed that file and I'm not seeing a crash. I'm on SU 8.0.11751.

                  Even in there is something corrupted about your specific SketchUp install, it's very strange that a plugin would change the behavior. I guess we'll wait and see if Rick can recreate... either way it'll be another clue.

                  • Scott Lininger
                    SketchUp Software Engineer
                    Have you visited the Ruby API Docs?
                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    @edson said:

                    @tig said:

                    Edson

                    This has every version FOO'd...

                    bad news. it does not work either. sketchup crashes every time.
                    Strange all we have done is separate the Vector class/method into one that's unlikely to have a name clash... 😕
                    So to recap...
                    If you have those two .rb files loading then DWG fails.
                    If you remove the files DWG works OK ?
                    That's plain weird...
                    Can you double check both edited files are in the Plugins folder...
                    You don't have Fredo's tool loading to add an extra networked Plugins folder ???
                    It might be loading an unedited version from somewhere ??????

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • EdsonE Offline
                      Edson
                      last edited by

                      scott,
                      my SU version is 8.0.13608.

                      TIG,
                      it is enough to remove vector.flat_angle.rb for SU to import the dwg without problems. I only removed the other to get rid of error messages asking for the other.

                      you have only posted the edited pathcopy.rb file, not vector.flat_angle.rb.

                      what fredo tool do you mean precisely?

                      edson mahfuz, architect| porto alegre • brasil
                      http://www.mahfuz.arq.br

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

                        Fredo's AdditonalPluginsFolder [or similar name...]

                        I'd disable both of RickW's files, as one needs the other etc...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • EdsonE Offline
                          Edson
                          last edited by

                          @tig said:

                          Fredo's AdditonalPluginsFolder [or similar name...]

                          I'd disable both of RickW's files, as one needs the other etc...

                          no, I do not have that plugin by fredo6 installed.

                          I have disabled both plugins. I am almost sure there are other plugins that help copy objects along a path.

                          edson mahfuz, architect| porto alegre • brasil
                          http://www.mahfuz.arq.br

                          1 Reply Last reply Reply Quote 0
                          • bigstickB Offline
                            bigstick
                            last edited by

                            Actually every one of my Macs in the office (3 in total) has the same problem of being unable to import dwg files in SU Pro. This has been the case for every version of SU8 pro that I have used, and in the office it makes no difference whether we are on Lion or Snow Leopard.

                            The import seems to work fine, the geometry seems to be imported, and the summary dialog pops up with the imported entities, but then SU crashes.

                            Works fine on my MacBook Pro at home with the same version of SU Pro 8.0.11751 though. This probably has more plugins than any of the other machines.

                            Pathcopy is not the culprit for me because it's on my home machine which works, and on my office machine, which doesn't.

                            Works fine on the PC under all situations.

                            1 Reply Last reply Reply Quote 0
                            • EdsonE Offline
                              Edson
                              last edited by

                              @bigstick said:

                              Actually every one of my Macs in the office (3 in total) has the same problem of being unable to import dwg files in SU Pro. This has been the case for every version of SU8 pro that I have used, and in the office it makes no difference whether we are on Lion or Snow Leopard.

                              The import seems to work fine, the geometry seems to be imported, and the summary dialog pops up with the imported entities, but then SU crashes.

                              Works fine on my MacBook Pro at home with the same version of SU Pro 8.0.11751 though. This probably has more plugins than any of the other machines.

                              Pathcopy is not the culprit for me because it's on my home machine which works, and on my office machine, which doesn't.

                              Works fine on the PC under all situations.

                              my only guess is that in my case vector.flat_angle.rb conflicts with some other plugin. finding it is something much beyond my knowledge.

                              edson mahfuz, architect| porto alegre • brasil
                              http://www.mahfuz.arq.br

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

                                Does SU crash if vector.flat_angle.rb is the only .rb in the Plugins folder?

                                RickW
                                [www.smustard.com](http://www.smustard.com)

                                1 Reply Last reply Reply Quote 0
                                • EdsonE Offline
                                  Edson
                                  last edited by

                                  @rickw said:

                                  Does SU crash if vector.flat_angle.rb is the only .rb in the Plugins folder?

                                  no. it looks as if it conflicts with some other plugin.

                                  edson mahfuz, architect| porto alegre • brasil
                                  http://www.mahfuz.arq.br

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

                                    It seems to me that the only way a plugin could crash SU when using the native dwg import is by using observers. Can anyone think of any other way?

                                    RickW
                                    [www.smustard.com](http://www.smustard.com)

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

                                    Advertisement