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

    Layer Name of Parent of Nested obj

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 139 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.
    • K Offline
      ktkoh
      last edited by

      I am trying to retrieve the layer name of the parent of the selected nested obj using

      cur_layer_name = obj.parent.layer.name
      

      This code returns "Layer0" which is the active layer but not the (Visibility) layer returned when the enity info for the parent is checked "A02-Drawer_3x20"
      If I select the drawer and open it for editing then try to make layer "A02-Drawer_3x20" not visible I get the message that I cannot hide the layer the active component is on.

      Keith

      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