sketchucation logo sketchucation
    • Login
    1. Home
    2. sdafasdf
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    sdafasdf

    @sdafasdf

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    sdafasdf Unfollow Follow
    registered-users

    Latest posts made by sdafasdf

    • 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