π’ PlaceMaker | 25% off for February including new Google Earth data imports!
Learn more
Error loading PointTool ruby in Sketchup 8
-
That's the full error message?
-
Here's the fixed version PointTool.rb
-
Hi TIG,
What was the issue exactly, TIG ? The new Ruby API is more strict as I see
But this is interesting things to know for a poor coder like me... -
Sketchup::set_status_text ("Specify first Point:"), SB_PROMPT
should be
Sketchup::set_status_text("Specify first Point:", SB_PROMPT)
Notice:
- no space after method name and brackets.
- brackets surround all arguments - the original incorrectly placed one argument outside
-
Thanks.
I was aware of that BTW
Advertisement