Strange error when setting component axes
-
I'm posting this in the ruby forum, as I suspect this is due to some plugin I have installed. I'm getting the following messages on the ruby console when I am creating a component and attempting to set the component axes (for a component that cuts an opening). I get these 5 lines for each of the first two points I select. Does this look familiar to anyone? Also, the component I create will not cut, so it seems that the operation is failing (silently unless the console is open). CB.
@unknownuser said:
Error: #<NoMethodError: undefined method
definition' for #<Sketchup::Face:0x953e5d8>> (eval):383:in
get_version'
(eval):420:inget_class_by_version' (eval):574:in
onToolStateChanged'
(eval):383
Error: #<NoMethodError: undefined methoddefinition' for #<Sketchup::Face:0x953e5d8>> (eval):383:in
get_version'
(eval):420:inget_class_by_version' (eval):574:in
onToolStateChanged'
(eval):383 -
Well, maybe I was wrong about it being a ruby script. I completely removed my plugins directory, verified that there are no rubies loaded, and the problem persists. No one is seeing this? You can create components that cut? CB.
-
Your on Vista - make sure you don't have any plugins hiding in your "Compatibility Folder". Navigate to the plugins folder and check the top toolbar for an icon for Compatibility Folders. Click on it and you might find more hidden plugins that are also being loaded into SU. Just selc everything in that folder and cut and paste it all back into your plugins folder. Then once the compatiblity folder is good and empty, try removing all your plugins again.
Check that and see how it goes,
Chris
-
Thanks for the tip Chris. I did as you suggested - there were some cobwebs in there! I then renamed my plugins folder so that no plugins get loaded. I uninstalled su. I downloaded it again, and reinstalled. Still have the problem! I cannot figure this out!
-
Also, what does it mean when it says '(eval)' in the error message? I'm used to seeing the name of the ruby file in that location.
-
And you are entirely unable to set the axis? Or does it still let you set the axis?
-
Hi Chris.
Well, I verified the error messages on another computer using SU7. I also tried it on SU6, and did not get the error messages. Yes, I'm able to set the axes. I find that I am not able to use the newly created component instance to cut a face, but if I grab a copy from the "in model" list of the component window, and place that on a face it will cut. So I guess part of my problem was not understanding how face-cutting components behave: It seems they only like to cut into the first face you stick them to. Chris, did you try setting the component axes while the ruby console was open? CB.
-
Yeah, I tried it and I also get the errors. I should have tried sooner.
There are other tools that send errors to the ruby console too. Oops!
So I would say it is woorking as expected.
Chris
Advertisement