sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    Unable to use plugin point.rb

    Scheduled Pinned Locked Moved Plugins
    5 Posts 3 Posters 753 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.
    • J Offline
      jackeddielove
      last edited by

      This is the message I receive. Can anyone help? Or offer another way to draw points in SketchUp?

      Thanks!

      Jack

      Error Loading File point.rb
      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/point.rb;41; parse error, unexpected ',', expecting kEND
      		Sketchup;;set_status_text ("Specify first Point;"), SB_PROMPT
      		                                                   ^
      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/point.rb;83; parse error, unexpected ',', expecting kEND
      				Sketchup;;set_status_text ("Click for next point;"), SB_PROMPT
      				                                                    ^
      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/point.rb;84; parse error, unexpected ',', expecting kEND
      				Sketchup;;set_status_text ("Length"), SB_VCB_LABEL
      				                                     ^
      
      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Where did you get point.rb from ? Probably from the 'crai Depot' - which has the older AND newer versions ?
        Your version is about 4 years old and therefore incompatible with recent versions of Ruby.
        From just the error message I can see that
        Sketchup::set_status_text ("Specify first Point:"), SB_PROMPT
        will cause issues with all of the latest versions of Ruby, because parenthesized arguments must ALL be inside the () AND there should be no space after the calling method.
        Whereas
        Sketchup::set_status_text("Specify first Point:", SB_PROMPT)
        would work.

        It's easily sorted...
        If you look in the SCF 'Plugins Index' for the latest version of it [by the same author] http://forums.sketchucation.com/viewtopic.php?p=95648#p95648
        this version will work OK... [I use it!]
        Make sure you remove the older version because the files have different names and you don't want both of them to load and perhaps clash...

        TIG

        1 Reply Last reply Reply Quote 0
        • Didier BurD Offline
          Didier Bur
          last edited by

          Both EN and FR have been updated today.
          Download them here: http://rhin.crai.archi.fr/rld/plugin_details.php?id=291

          DB

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

            Didier
            Wasn't the EN version already correct in the later version - you have [had?] two versions of the script by the same author [Matt666] just with different filenames/versions - one's syntax was right, whilst he earlier one was wrong ? ... The older 'point.rb' has no toolbar, while the current 'PointTool.rb' script comes zipped and does.

            TIG

            1 Reply Last reply Reply Quote 0
            • Didier BurD Offline
              Didier Bur
              last edited by

              Hi,
              TIG you're right.
              I updated the latest version (with toolbar) and also made the french version.
              Regards,

              DB

              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