sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Lss_ToolBar2.0 beta 2 su2016 solution

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    1 Posts 1 Posters 761 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      DreamPsi
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement