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!
    🚨 Skimp | 25% Off until March 30 Buy Now

    Problem loading my script

    Scheduled Pinned Locked Moved Plugins
    2 Posts 2 Posters 244 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.
    • K Offline
      ktkoh
      last edited by

      I have been revising my mortisetool.rb file and the new version loads fine with no errors listed using the ruby console. However when I place it in the plugin folder I get this error message on loading.

      Error Loading File KK_MortiseTool.rb
      undefined method `GetString' for nil:NilClass

      I have set variables to nil initially so I can test to see if the program has changed them.
      I used this method also in the original version and had no trouble loading it.

      Possible solutions?

      Thanks
      Keith

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Hi Keith,

        Don't use GetString just because Google's example scripts do. Do you know the purpose of GetString, how it works, or in which file it is defined? (it's in /Tools/langhandler.rb)

        Hi

        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