Lss_ToolBar2.0 beta 2 su2016 solution
-
Lss_toolbar Created by Krill btw. and its awesome... Puriod.
I don't know if yall want to know but seeing how I spent all day trying to find out why my stick group function wasn't working in sketchup 2016 pro I came across the answer
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
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