Error/SketchUp/MS Physics/Ruby script

sketchup
ruby
msphysics

#1

Hello everyone,

when i try to put a ruby script on an object, I get this error:
error

Does anybody know how to fix this error?


#2

One would have to see your specific Ruby code to know the precise cause, but the error indicates that one of your variables has a nil value. That could happen because it was not initialized or because nil was used as a error indicator by whatever method you called to get a value in that variable.


#3

Please move to Ruby API category.


#4

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.