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!
    FredoBend | Powerful new bending tool for SketchUp Download

    Status Text being reset

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 396 Views 3 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.
    • S Offline
      shannonnovus
      last edited by

      Hello,

      I'm having some difficulty setting status text for my plugin. From what I can figure, the command to Sketchup::set_status_text is working, but then instantaneously the status text is being rewritten by the default "Select objects. Shift to extend select. Drag mouse to select multiple." message.

      How do I write my plugin such that the status text I set will stick around for awhile? Is that possible, or do I need to use a message box to give the user the results of the plugin having run? (As I have seen other plugins do).

      Thanks!
      Shannon

      ps. I'm using SketchUp Pro 2014.

      1 Reply Last reply Reply Quote 0
      • S Offline
        slbaumgartner
        last edited by

        @shannonnovus said:

        Hello,

        I'm having some difficulty setting status text for my plugin. From what I can figure, the command to Sketchup::set_status_text is working, but then instantaneously the status text is being rewritten by the default "Select objects. Shift to extend select. Drag mouse to select multiple." message.

        How do I write my plugin such that the status text I set will stick around for awhile? Is that possible, or do I need to use a message box to give the user the results of the plugin having run? (As I have seen other plugins do).

        Thanks!
        Shannon

        ps. I'm using SketchUp Pro 2014.

        Not certain I understand what you are saying, but here goes: The message you mention comes from the Selection Tool, so it sounds like you have reactivated that Tool when your plugin completes. The status text is "owned" by whatever Tool is currently active, and there is nothing you can do to prevent it from displaying its own status text. This is the way it is intended to work. After all, how would you feel if some other Tool blocked yours from displaying status? To continue to display status, either your Tool must remain active or you need to use a message box, web dialog, or similar UI.

        1 Reply Last reply Reply Quote 0
        • tt_suT Offline
          tt_su
          last edited by

          There is no way to force a statusbar text to stick around. It's normally set by the active tool, but also by menu and toolbar items.

          Do you have a sample snippet that demonstrate the issue?

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better đź’—

          Register Login
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement