sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    OnUserText

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 3 Posters 266 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
      spring.freediver
      last edited by

      I have several custom tools that implement the onUserText callback, and they work correctly. If the user keys in text, I get it and can process it. But I am working on a new tool, and tried to implement onUserText the same way as in other tools, and for some reason it is not working. I put a simple "puts text" in the onUserText method, and it doesn't get called. Is there any kind of known problem that would cause this? Maybe some combination of settings that causes it not to work? I thought I saw something about this on a SU blog somewhere, but I can't find it now.

      Thanks for any help

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Is http://code.google.com/apis/sketchup/docs/ourdoc/tool.html#enableVCB? true ?

        TIG

        1 Reply Last reply Reply Quote 0
        • S Offline
          spring.freediver
          last edited by

          Oh yes, that was the thing I saw somewhere. 😳 Thanks TIG.

          It is odd that my other tools worked without it.

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

            @spring.freediver said:

            It is odd that my other tools worked without it.

            hm..? Are you sure you haven't got that method in your other tools? I've never seen it possible without this method.

            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