[Plugin Library] LibFredo6 - v15.5a - 08 Oct 25
- 
 Yes, thanks indeed  
- 
 Fredo, your latest script lib v 3.4c completely greys out my right -click options as early as sketchup start up on 7.1 win XP. help? 
- 
 @prismcnd said: Fredo, your latest script lib v 3.4c completely greys out my right -click options as early as sketchup start up on 7.1 win XP. help? Have you put it [and its related files] in the Plugins folder inside its own folder ? 
- 
 Confirmed all files are in the proper placement. works fine without the "libfredo.rb" file, but with it as soon as i load sketchup and first action is right-click on sang all right click options are greyed out 
- 
 Have you also updated FredoScale etc ? 
- 
 @tig said: Have you also updated FredoScale etc ? No need. The code was in LibFredo. FredoScale did not have to be updated. 
 Tools on Surface did though.There could be some other culprit to the disabled menus. 
- 
 @prismcnd said: Confirmed all files are in the proper placement. works fine without the "libfredo.rb" file, but with it as soon as i load sketchup and first action is right-click on sang all right click options are greyed out Could you use the following code in the Ruby console (copy & paste it): 
 l=[];ObjectSpace.each_object {|x| l.push x if x.class==UI::Command } ; l.lengthThis displays the number of Command objects. After enabling LibFredo6 3.4c, check in the Ruby console BEFORE you right click and then AFTER. Thanks Fredo 
- 
 Some other plugin can still add to that - so it would not be an idication of FredoLib is the cause. To determine that one must disabled FredoLib and see if you still get an increase - if so, then there's another plugin doing this. 
- 
 I get 332 before AND 332 afterwards...  How about making an observer script that watches the number of commands a la code snippet, and when it approaches /reaches 1000 it pops up a dialog warning you that you have too many commands loaded and might like to sort out your plugins or suffer 'grayed' context-menu items... 
 It would be nice it it could purge unused commands... but how ? ObjectSpace.garbage_collect ?
- 
 @tig said: I get 332 before AND 332 afterwards...  How about making an observer script that watches the number of commands a la code snippet, and when it approaches /reaches 1000 it pops up a dialog warning you that you have too many commands loaded and might like to sort out your plugins or suffer 'grayed' context-menu items... 
 It would be nice it it could purge unused commands... but how ? ObjectSpace.garbage_collect ?The normal behavior should be that Commands objects are released as any othe Ruby object (This is what I thought by the way). From what jhauswirth reported, it seems that each UI::Command creates an underlying Windows static object which might itself not be released, even if the UI::Command object would be garbaged out by Ruby. Fredo 
- 
 This gray fade was extremely annoying. What a relief 
- 
 ran said script with LibFredo.rb disabled, returned a value of 293. ran said script with LibFredo6 enabled and returned said value of 428. Right-click menu is greyed out right from the start with Libfredo.rb enabled. As in before I've had a chance to create anything. Ken reports the same result from this post ( http://forums.sketchucation.com/viewtopic.php?f=323&t=11212&start=285 ) 
 For the record I would like to say I really appreciate you guys looking into this. I used fredo's/your tools all the time and am really having a hard time remembering a workflow before I had these wonderful tools at my disposal.
 here is the full report from the ruby console after i reenabled the script and ran the command in the ruby console
 
- 
 Have you tried removing LibFredo before installing this new version? To ensure all files are updated? 
- 
 just upgraded to the latest toolset, on loading skp this error came up Error Loading File ZLoader__FredoScale.rb 
 uninitialized constant LibFredo6::Traductor
- 
 Did you get the latest version of the Lib and software rubies and keep them in their respective folders as you extracted them from their zip files... 
- 
 ok, now it seems none of the toolbars are loading but no error messages popup interestingly in the preferences > extensions absolutly nothing is showing 
- 
 Sounds like you have some files in the wrong places - is this on PC or Mac ? 
 Copy/Paste this line into the Ruby Console + <enter>
 Sketchup.find_support_file("Plugins")
 It returns the path that all of the .rb files OR sub-folders should go into - they should be in the same relationship as they are in the zip file - i.e. usually a 'loader' .rb and then a related sub-folder full of other files - that folder goes into Plugins with its contents unchanged.
- 
 yeah its mac, and they're in the correct place. i guess ill wipe the folder and reinstall them all. 
- 
 Im getting the same error message as above, but on a vista pc, I've tried the install 3 times. any ideas? 
- 
 Are the files installed as described in the first post? 
Advertisement
 
 
 



 
                             
                             
                             
                             
                             
                             
                            