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

    Note disappears when sang is deleted

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 232 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.
    • P Offline
      pvbuero
      last edited by

      Hello,

      I added a note on the screen with the code below:

      Sketchup.active_model.add_note("some text")
      

      trouble is, when I delete the last entity (for example Sang if he 's the only one on the screen) the note also disappears. When I put something back on the screen my note comes back.

      Is there a way to avoid that ?

      Thanks
      Matthias

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

        It's a known bug, you need any entity in the model for the notes to display.

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

        1 Reply Last reply Reply Quote 0
        • P Offline
          pvbuero
          last edited by

          Thanks a lot Thomas.

          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