Error starting simulation
-
I get this error every time I open a model with sketchyphysics that someone else has created:
Error starting the simulation: undefined method 'parent' for nil:NilClass
C:/PROGRA~2/Google/GOOGLE~1/Plugins/SketchyPhysics3/ClassExtensions.rb:59:in 'definition'Usually if I explode and reconnect a bunch of the joints in the model I can get it to work, but that's tedious and shouldn't be necessary. If I start a new SP model, the sim runs without any problem. The models typically come from this forum or the SP forum so I know they should work. Any ideas?
-
Damn I remember figuring this error out, but now I'm not sure what exactly it was.
I think it hasto do with different Sketchup versions, or a model from SU8 converted back to a lower version, something of that kind.If you got an example model of this post it here I'm sure I can find what's causing it again.
I believe the simplest solution was to copy/paste the model content to a new model. -
Mr. K, I think you're right - it might be a version issue. It happens with almost every SP model I've opened, but most recently on your conveyors.skp you made for someone on another thread. I think you must have made it in 7? Anyway, I copied it into a new file and it worked. That's a good enough workaround for me. Thanks.
-
Ya I do most my models in SU7 because it tends to crash alot less combined with SketchyPhysics.
I'm not sure what exactly happens in the transformation to SU8, but atleast fixing it is quick.
Advertisement