• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Import ALL from Folder

Scheduled Pinned Locked Moved Plugins
77 Posts 20 Posters 65.2k Views
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.
  • D Offline
    driven
    last edited by 23 Jan 2015, 22:11

    seriously now...
    I just tested it and had a splat as well, sent it to trimble...
    I'll have a look a the report

    john

    learn from the mistakes of others, you may not live long enough to make them all yourself...

    1 Reply Last reply Reply Quote 0
    • R Offline
      Rich O Brien Moderator
      last edited by 23 Jan 2015, 22:15

      na na nana na

      Download the free D'oh Book for SketchUp 📖

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by 23 Jan 2015, 22:22

        @rich line 101 delete puts re-save, restart...
        worked for me

        learn from the mistakes of others, you may not live long enough to make them all yourself...

        1 Reply Last reply Reply Quote 0
        • R Offline
          Rich O Brien Moderator
          last edited by 23 Jan 2015, 22:27

          nope! splat

          Download the free D'oh Book for SketchUp 📖

          1 Reply Last reply Reply Quote 0
          • D Offline
            driven
            last edited by 23 Jan 2015, 22:34

            keep the puts deleted, but on line 106 add an new line UI.messagebox(name)
            try on a small number of skps first
            just to see if slowing it down helps...

            john

            learn from the mistakes of others, you may not live long enough to make them all yourself...

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 23 Jan 2015, 22:57

              That means you need to press OK 126 times !
              Rich, why not ZIP and email me those 126 SKPs, explain [clearly] what you want to do...

              TIG

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by 23 Jan 2015, 23:10

                @Tig
                sorry, just trying to help out, thought you were at pub...

                it's failing with only two models to import...

                removing the puts helps sometimes,
                pre-saving the model helps sometimes,
                adding the UI.messagebox helps sometimes...

                but if I try a larger folder it bugsplats again...

                john

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 23 Jan 2015, 23:12

                  OK, I'll check it out - not a bug reports for years, then three come at once...

                  Maybe it needs updating...
                  😕

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 24 Jan 2015, 13:20

                    I just revisited this Plugins code.
                    As it was, it still worked fine for me on multiple SKP imports, but I have made some adjustments because the SKP import could now be more 'streamlined' > SUp v8...

                    Here's the updated v1.4 RBZ in the PluginStore http://sketchucation.com/pluginstore?pln=import_from_folder

                    Please try it and feedback.

                    PS: Rich - you can email me the 126 SKPs in a ZIP if you like ?

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      driven
                      last edited by 24 Jan 2015, 13:35

                      bug splat on mac...
                      there are some weird names, but I import them as a test folder for my icon maker plugin, and they were importing then failing last night...
                      john
                      full folder content

                      .DS_Store
                      .png
                      ¨„¶®™_·_Ë‚„‡¢†´Æ¨.skp
                      ¨„¶®™_·_™†°•´•¨.skp
                      ¨„¶®™_·_™†≠®·‚‡Æ©.skp
                      ¨„¶®™_·_™‡†·™Æ©.skp
                      ¨„¶®™_·Æ_·‚•‚Á®™Æ¨_£•©£•‡†.skp
                      ¨„¶®™_®_™‡Î·†.skp
                      ¨„¶®™_≠†_´•·‚≠®Ê•.skp
                      ¨„¶®™_߆_·‚ƴƨ.skp
                      ¨„¶®™®_·_°ÆÁ™†¨®.skp
                      ¨„¶®™®_¢_™Æ´Æ§Ê•.skp
                      £Æ´Î©_¨„¶®™.skp
                      file_names from folder.scpt
                      filenames.txt
                      Ø®‡Æ‚•Â≠®™.skp
                      ØÆ¶†‡≠Ε_·Æ_·‚¢Æ´Æ¨_1.skp
                      ØÆ¶†‡≠Ε_·Æ_·‚¢Æ´Æ¨_2.skp
                      ØÆ¶†‡≠Ε_·Æ_·‚¢Æ´Æ¨_3.png
                      ØÆ¶†‡≠Ε_·Æ_·‚¢Æ´Æ¨_3.skp
                      ØÆ¶†‡≠Ω_·_‚ÆØÆ‡Æ¨.skp
                      ØÆ¶†‡≠Ω_·_Æ£≠•‚„Ë®‚•´•¨.skp
                      ØÆ¶†‡≠Ω_≠†_Ë•·‚•.skp
                      ØÆ¶†‡≠Ω_1.skp
                      ØÆ¶†‡≠Ω_2.skp
                      ØÆ¶†‡≠Ω_3.skp
                      ØÆ¶†‡≠Ω_3~.skp
                      ru_aviator.skp
                      ru_blueSanta.skp
                      ru_garbageCollect.skp
                      ru_glassman.skp
                      ru_jackHammer_male.skp
                      ru_jackHammer.skp
                      ru_leafBlower.skp
                      ru_plumBob.skp
                      ru_surveyor.skp
                      ru_welder.skp
                      ru_wheelBarrow.skp
                      site_logo.png
                      welder.png
                      welder.skp
                      

                      learn from the mistakes of others, you may not live long enough to make them all yourself...

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 24 Jan 2015, 13:50

                        They are weird SKP names !
                        What happens with a simpler set of 'sensible' names ??
                        Maybe I need to try and force the file path's encoding to UTF-8 if >=v2014 ?

                        Are they all real SKPs ?
                        Is their version <= SUp version you are using ?
                        If it's > then you will get an 'empty-skp' message for each one...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 24 Jan 2015, 14:02

                          Here's v1.5, it forces the file names to UTF-8 in >v2014 to see if that addresses file-type errors
                          http://sketchucation.com/pluginstore?pln=import_from_folder

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Rich O Brien Moderator
                            last edited by 24 Jan 2015, 14:07

                            I'll email files later.

                            But no weird characters except _

                            Download the free D'oh Book for SketchUp 📖

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              driven
                              last edited by 24 Jan 2015, 14:33

                              @tig

                              no joy, it's failing on even a simple 2 skp, good filenames folder...

                              the other folder names are deliberately obnoxious to represent a 'user' folder, but the names all show in message bar as they are found...

                              learn from the mistakes of others, you may not live long enough to make them all yourself...

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 24 Jan 2015, 16:11

                                So this begs the question, "why does it work OK for me ?"
                                😒

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  Rich O Brien Moderator
                                  last edited by 24 Jan 2015, 16:13

                                  You on Win8.1?

                                  Download the free D'oh Book for SketchUp 📖

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    driven
                                    last edited by 24 Jan 2015, 16:14

                                    @tig said:

                                    So this begs the question, "why does it work OK for me ?"
                                    :roll:

                                    have you run it on your mac?

                                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 24 Jan 2015, 16:15

                                      Win7 64bit, v2015 64bit... also works in v8 32bit etc...

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        Rich O Brien Moderator
                                        last edited by 24 Jan 2015, 16:28

                                        I won't get near laptop until 9pm.

                                        But I will test then.

                                        Download the free D'oh Book for SketchUp 📖

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 24 Jan 2015, 18:24

                                          No rush... I'm asleep right now 😉

                                          TIG

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

                                          Advertisement