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") ) ... end
won'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.
Advertisement