@sdmitch said:
@azumayugo said:
hi,
i've used your script for several times, it's nice and run well. But suddenly, the script didn't load. When I check ruby console, it show some error message like this :
@unknownuser said:
Error: #<NoMethodError: undefined method
to_l' for nil:NilClass> C:/Users/Design/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SDM_FloorGenerator_WD.rb:89:in
dialog'
C:/Users/Design/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SDM_FloorGenerator_WD.rb:63:ininitialize' C:/Users/Design/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SDM_FloorGenerator_WD.rb:33:in
new'
C:/Users/Design/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SDM_FloorGenerator_WD.rb:33:inblock in <top (required)>' -e:1:in
call'What should I do to make the script run again?
Thank's before
It is probably a problem related to the saved defaults. If the plugin runs at all, choose the reset option at the bottom of the pattern list to reset the defaults.
If that isn't possible, paste the following into the Ruby Console and press Enter.
["Brick","Tile","Wood","Tweed","Hbone","BsktWv","HpScth1","HpScth2",'HpScth3',"HpScth4","IrPoly","Hexgon","Octgon","Wedge","I_Block"].each{|o| Sketchup.write_default("FloorGenerator",o,nil)};
Thank's sdmitch. It work again