• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Unable to use plugin point.rb

Scheduled Pinned Locked Moved Plugins
5 Posts 3 Posters 732 Views
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 11 Feb 2012, 21:39

    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
    • T Offline
      TIG Moderator
      last edited by 11 Feb 2012, 23:36

      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
      • D Offline
        Didier Bur
        last edited by 13 Feb 2012, 14:45

        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
        • T Offline
          TIG Moderator
          last edited by 13 Feb 2012, 15:40

          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
          • D Offline
            Didier Bur
            last edited by 14 Feb 2012, 10:22

            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
            1 / 1
            • First post
              1/5
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement