sketchucation logo sketchucation
    • Login
    1. Home
    2. AlexS
    3. Posts
    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
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Ruby Plugin Help

      Thank you guys, you've been a great help.

      Now... just one LAST question. I'm trying to use the 'print' and 'puts' function, and I'm trying to put in these characters: < >

      But when I load Sketchup, it gives me an error. I guess it thinks I'm trying to do something within the string when I put a < or >.

      How can I fix this?

      posted in Developers' Forum
      A
      AlexS
    • RE: Ruby Plugin Help

      Sorry I wasn't clear enough... I mean to retrieve whatever groups whos name STARTS with SPECIAL... Is there is an equivalent to C's "StartsWith" in Ruby?

      posted in Developers' Forum
      A
      AlexS
    • RE: Ruby Plugin Help

      Thanks, TIG!

      How can I separate the groups whos names start with SPECIAL and the ones that don't, though? Thanks for your help,

      Alex

      EDIT: And also, I'm trying to use the 'puts' function, but when I'm doing this: file.puts "<model/>", it thinks that when I use the < & > symbols that I'm trying to define a constant or something. This is the same for the 'print' function. How can I add the < > characters? Thanks for your patience with me. πŸ˜›

      posted in Developers' Forum
      A
      AlexS
    • Ruby Plugin Help

      Hello,

      I've made a a plugin for Ruby before, but I'm writing another one and it requires something a bit tougher... πŸ˜„

      I want to gather all the groups that have the name that starts with "SPECIAL". In reality these groups will contain no faces, but simply curves. I want to get each "point" in the group and write it to a file (I know how to do that).

      Now question is, how do I get the points for a line segment?

      If I need to clarify more simply ask,

      Thanks,

      Alex

      posted in Developers' Forum
      A
      AlexS
    • 1 / 1