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

    Suppress warning Your recent operation...

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 5 Posters 916 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.
    • X Offline
      xiobus
      last edited by

      Hey how do i suppress this warning from the user "Your recent operation has caused visible geometry to merge with existing geometry on a hidden layer" im running the bomb.rb script inside a program and it gives that warning message for each file/run it explodes

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

        @xiobus said:

        Hey how do i suppress this warning from the user "Your recent operation has caused visible geometry to merge with existing geometry on a hidden layer" im running the bomb.rb script inside a program and it gives that warning message for each file/run it explodes

        I don't have the script but this is a general guide...
        Make a backup copy of the script as you might mess up!
        Open the script in Notepad.exe.
        Use its Find tool to locate the text Your recent operation or something similar.
        That line will probably look something like UI.messagebox("Your recent operation....")
        Add ### at the start of the whole line and it won't be executed...
        [ ### UI.messagebox("Your recent operation....")]
        Check for other instances of the text [or similar text] in case it is called by several tests..
        Save the script and run a test SKP - it should now NOT put that message up...
        🤓

        TIG

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

          TIG, I think it's a native SU warning, not a ruby script warning. So I'm not sure if that can be suppressed at all...

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

          1 Reply Last reply Reply Quote 0
          • Al HartA Offline
            Al Hart
            last edited by

            @xiobus said:

            Hey how do i suppress this warning from the user "Your recent operation has caused visible geometry to merge with existing geometry on a hidden layer" im running the bomb.rb script inside a program and it gives that warning message for each file/run it explodes

            From your description, I am guessing you are running bomb from inside another ruby script, after hiding some layers. Try putting the geometry you are trying to modify into a group, before running bomb, and open the group for edit, so that bomb only operates on the geometry in the group. That might avoid the conflicts with other geometry on hidden layers.

            Al Hart

            http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
            IRender nXt from Render Plus

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

              @thomthom said:

              TIG, I think it's a native SU warning, not a ruby script warning. So I'm not sure if that can be suppressed at all...

              Well, in that case it can't be suppressed... it's there for a reason 😒

              TIG

              1 Reply Last reply Reply Quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                @tig said:

                @thomthom said:

                TIG, I think it's a native SU warning, not a ruby script warning. So I'm not sure if that can be suppressed at all...

                Well, in that case it can't be suppressed... it's there for a reason 😒

                If the warning is sent to the console via STDERR, you may be able to suppress it by changing the setting for $VERBOSE.
                See this post in the Optimization thread.
                http://forums.sketchucation.com/viewtopic.php?f=180&t=25305#p217508

                If it's a viewtip or a messagbox in a .rbs, well ...

                I'm not here much anymore.

                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