Suppress warning Your recent operation...
-
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
-
@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 textYour recent operationor something similar.
That line will probably look something likeUI.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, 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...
-
@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.
-
@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 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#p217508If it's a viewtip or a messagbox in a .rbs, well ...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement