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

    Does SketchUp delete empty groups?

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 381 Views 2 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
      draftomatic
      last edited by

      I'm trying to have some empty groups in my model, which could hang around for a while, even across separate sessions of SU. They are locked. However, when I draw anything, it deletes my groups! Rude...

      i.e.:
      myGroup = Sketchup.active_model.entities.add_group myGroup.name = "My Group" myGroup.locked = true

      Then use the Rectangle tool to draw a rectangle, and watch the new group disappear from the Outliner.

      Is there a way around this?

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Yea - SU tries to clean up some times. If you for instance erase all the entities in a ComponentDefinition that definition will disappear. (Though I'm not exactly sure when SU does that.)

        Could you place a CPoint in it?

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        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