Clear the ruby console window mem how to
-
when I load a rb file in the ruby console windows,hoe can I remove a func which was loaded by the file?
I mean, when i run a script, and after the running i change the source of the script, even if I load again by "load" command, the change I have done, doesnt take affect
What to do? -
are you sure ? the methods should be redefined. what is your code that are you are trying ?
-
Anything inside this kind of code:
if( not file_loaded?("motish.rb") ) ... endwon't get reloaded. I have another guess, though. Are you running Vista?
-
Depending on what you changed, your change may or may not take affect.
If you changed a menu specification, you have to quit and restart SketchUp.
Generally, if you change the code within a method, you can just reload the script.
Sometimes, when you change a class definition, you'll have to reboot SketchUp.
Todd
-
Also, webDialog callback actions don't get changed if you have persistent instances that call the dialog.
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