Hi first of all i think your plugins are amazing, thank you for your time and effort on them
but with your lss toolbar plugin in sketchup 2016 most of them work but the stick group plugin
doesn't for some reason i get this in the ruby console window whenever i click on it in the tool bar
Error: #<NoMethodError: undefined method to_a' for "":String> C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1078:in
settings2hash'
C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1073:in read_defaults' C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1153:in
create_web_dial'
C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:1282:in activate' C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:23:in
select_tool'
C:/Users/RedBeaner/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/lss_toolbar/lss_mshstick.rb:23:in block in initialize' SketchUp:1:in
call'
it doesn't even load up the dialog html command window for this specific function
everything is installed in there right places please help
ok I have seemed to have found a solution for the stickgroup function in sketchup 2016.
sketchup 2016 uses the newer version of ruby code. which makes the method to_a function not work unless you put it as lines.t_a first.
so in the lss_mshstick.rb
the problematic code is this
line1078 @settings_hash["stick_vec"]=[@stick_vec.to_a.join(";"), "vector_str"]
line1082 @settings_hash["bounce_vec"]=[@bounce_vec.to_a.join(";"), "vector_str"]
the new fixed code is this
line1078 @settings_hash["stick_vec"]=[@stick_vec.lines.to_a.join(";"), "vector_str"]
line1082 @settings_hash["bounce_vec"]=[@bounce_vec.lines.to_a.join(";"), "vector_str"]
so that fixed it for me though I'm still getting error msgs in the ruby console but its not affecting the function as far as I can tell.
so hope this helps you guys