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

    Don't want notification for makefaces

    Scheduled Pinned Locked Moved Plugins
    6 Posts 3 Posters 296 Views 3 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.
    • john2J Offline
      john2
      last edited by

      While using the makefaces plugin, I get notifcation about the stats upon completion of the command. I have to press ok everytyime which I find irritating. Can I tweakt the rb file so that this popup doesn't come and the command is done quickly?

      Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

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

        There are several other [newer] face making scripts, which don't have that report popping up at the end...
        But, if you want to stick with Todd Burch's version... edit the file makefaces.rb with Notepad.exe, or a similar plain-text editor [not a wordprocessor]: add # in front of the offending code - i.e. the line starting UI.messagebox...., save it and restart SketchUp...
        No more dialog !

        TIG

        1 Reply Last reply Reply Quote 0
        • BoxB Offline
          Box
          last edited by

          Personally I use one by an obscure plugin author called Add faces http://sketchucation.com/pluginstore?pln=addfaces

          1 Reply Last reply Reply Quote 0
          • john2J Offline
            john2
            last edited by

            I added # before two lines having that ui messagebox

            Now when I start sketchup I get this error

            Error Loading File makefaces.rb
            Error: #<SyntaxError: C:/Users/ArchitectFella/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/makefaces.rb:158: syntax error, unexpected ',', expecting keyword_end
            ...\nThe process lasted: "<< elap, MB_MULTILINE, "Make Faces St...
            ... ^
            C:/Users/ArchitectFella/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/makefaces.rb:158: dynamic constant assignment
            ...lasted: "<< elap, MB_MULTILINE, "Make Faces Statistics")

            ... ^
            C:/Users/ArchitectFella/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/makefaces.rb:158: syntax error, unexpected ')', expecting :: or '[' or '.'
            ...ILINE, "Make Faces Statistics")

            ... ^
            C:/Users/ArchitectFella/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/makefaces.rb:164: syntax error, unexpected end-of-input, expecting keyword_end>

            Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

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

              @Box

              I don't like 'to blow my own trumpet' [too much!] πŸ˜‰
              [meine eigene Posaune blasen ?? auf die Pauke hauen ??]


              @john2

              Sorry about that... the odd way Todd set up his string is "multi-line"...
              So # rem out the second messagebox's lines like this:

              #UI.messagebox("makefaces.rb; Copyright 2004-2006 Burchwood USA."        <<
                                #"\nVersion 1.2   May 14,2006."                    << 
                                #"\n\nThere were " << total_items.to_s << " selected items."   <<
                                #"\n\nThere were " << notAnEdge.to_s << " non-Edge selected items."   <<
                                #"\nThere were " << (total_items-notAnEdge).to_s << " Edges selected."   <<
                                #"\n\nThere were " << x.to_s << " face(s) added."       <<  
                                #"\nThe process lasted; "<< elap, MB_MULTILINE, "Make Faces Statistics")
              

              TIG

              1 Reply Last reply Reply Quote 0
              • john2J Offline
                john2
                last edited by

                Thanks for advising me a great plugin by TIG sir. πŸ‘ πŸ˜„ Thanks for the trumpet πŸ˜† . That plugin of TIG sir is way much better and doesn't blow the trumpet of notification about how many faces were made, lines, stats and all the useless stuff for ordinary user like me. πŸ‘ πŸ‘ πŸ˜†

                Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

                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