rfdiazpr / sketchyphysics

Automatically exported from code.google.com/p/sketchyphysics
1 stars 0 forks source link

Can't make sketchyphysics working #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am a Windows Vista user with the latest sketchup version running (7) and I 
can't make sketchyhpysics working!
Only I get is this error pop up all the time:

Error Loading File SketchyPhysics.rb
undefined method `file_loaded?' for main:Object

Nor the playbutton appears.

Can someone help me out?

Original issue reported on code.google.com by dveldwij...@gmail.com on 18 Jun 2010 at 5:25

GoogleCodeExporter commented 8 years ago
Another potential fix, if the above solutions don't work for you:

Edit sketchyphysics.rb in any plain text editor.

Move the line (~106):
SketchyPhysics.doLoad(SketchyPhysics.getLoadVersion())

to immediately above the line (~65):
 if(not file_loaded?("SketchyPhysics.rb") )

This seems to work fine with SketchUp 7.1 & SP3X on Mac OSX, though it's 
possible it introduces problems I have not noticed yet.

Original comment by grant.sk...@gmail.com on 28 Jun 2010 at 5:53