Thank you kindly, Trogluddite and Dan Rathbun
I understand from reading your advice. Maybe, it's about class reference.
These are the 3 ways I tried to do, I can't find the problem in a code yet. ๐
Error :
[ToolWebUIP.add_callbacks('handle_run')] parts: #PartListP:0xd9a0f28
Error: #<NameError: uninitialized constant Kernel::HTMLRendererP>
C:/Users/Windows8/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/CurtainWall/Export/CW_Panel/gui.rb:271:in block in add_callbacks' -e:1:in call'
Error :
[ToolWebUIP.add_callbacks('handle_run')] parts: #PartListP:0xded0ed8
**Error: #<NoMethodError: undefined method []' for nil:NilClass>** C:/Users/Windows8/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/CurtainWall/Export/CW_Panel/gui.rb:275:in block in add_callbacks'
-e:1:in `call'
Error :
[ToolWebUIP.add_callbacks('handle_run')] parts: #PartListP:0xddb8f00
Error: #<NameError: wrong constant name ["HTMLRendererP"]>
C:/Users/Windows8/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/CurtainWall/Export/CW_Panel/gui.rb:270:in const_get' C:/Users/Windows8/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/CurtainWall/Export/CW_Panel/gui.rb:270:in block in add_callbacks'
-e:1:in `call'