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

    Posts

    Recent Best Controversial
    • RE: Remove layer doesn't work?!

      thanks Jim, I hadn't spotted the 2015+ in the docs 😳

      I have (hopefully) one more layer question. Is it possible to set the layer opacity and then turn on "color by layer"?

      thanks again

      posted in Developers' Forum
      S
      sdafasdf
    • Remove layer doesn't work?!

      hi

      sorry if this is a simple query, but it has me stuck.

      I've added a layer to my model with

      Sketchup.active_model.layers.add("test")
      

      which works fine. The API reference says this should remove it,

      Sketchup.active_model.layers.remove("test", true)
      

      but it errors

      Error; #<NoMethodError; undefined method `remove' for #<Sketchup;;Layers;0xc8649c4>>
      (eval);81
      

      anyone got any bright ideas?!

      thanks
      bob

      posted in Developers' Forum
      S
      sdafasdf
    • 1 / 1