[Plugin] Hidden Manager (08.Feb.2015)

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby bdbox » Sat Feb 26, 2011 3:38 pm

thomthom wrote:Henry:
mx_hiddenmanager = SketchupExtension.new "Hidden Manager", File.join ("mx_hidemanager","mx_hidemanager.rbs")

This can confuse Ruby - you have space after the method name and the brackets. ( File.join ) On top of that you have that as one of the argument of another method call ( SketchupExtension.new ) where you don't use brackets.

To avoid potential errors, always use brackets. But most important of all, never leave a space between the method name and the brackets.

It's a bit odd that a SU7 user should report this error, because SU8's ruby is more strict. Regardless, this should work:
mx_hiddenmanager = SketchupExtension.new( "Hidden Manager", File.join("mx_hidemanager","mx_hidemanager.rbs") )


i got this error:

No such file to load -- mx_hidemanager/mx_hidemanager.rbsError Loading File mx_hidemanager_loader.rb
No such file to load -- mx_hidemanager/mx_hidemanager.rbs
0

bdbox 
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby mac1 » Sat Feb 26, 2011 7:46 pm

schorradt
What capability does this provide vs what the outliner has now??
0

mac1 
Top SketchUcator
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby nomeradona » Sun Feb 27, 2011 2:37 am

nifty tool as your hidden elements are in one place. I can see the relevance.
0

nomeradona 
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby Evan Garmaise » Tue Mar 01, 2011 5:50 am

bdbox wrote:
thomthom wrote:Henry:
mx_hiddenmanager = SketchupExtension.new "Hidden Manager", File.join ("mx_hidemanager","mx_hidemanager.rbs")

This can confuse Ruby - you have space after the method name and the brackets. ( File.join ) On top of that you have that as one of the argument of another method call ( SketchupExtension.new ) where you don't use brackets.

To avoid potential errors, always use brackets. But most important of all, never leave a space between the method name and the brackets.

It's a bit odd that a SU7 user should report this error, because SU8's ruby is more strict. Regardless, this should work:
mx_hiddenmanager = SketchupExtension.new( "Hidden Manager", File.join("mx_hidemanager","mx_hidemanager.rbs") )


i got this error:

No such file to load -- mx_hidemanager/mx_hidemanager.rbsError Loading File mx_hidemanager_loader.rb
No such file to load -- mx_hidemanager/mx_hidemanager.rbs


Some of my users of the PieceTracer tool have reported the same mysterious "No such file to load" error, as you can see here:
http://forums.sketchucation.com/viewtopic.php?f=80&t=34492

A couple of similarities between Hidden Manager and PieceTracer:
1. Both have an underscore in both the directory name and the file name, as most plugins do not.
2. Both load the scrambled ruby file directly out of the loader file instead of using a second unscrambled file inside the sub-directory that loads the scrambled file using a 'require' statement or similar, as many plugins do.

Could these similarities point to a solution to the problem? Could be worth creating a test version with these things fixed to see if that solves the loading problem for those users who have it.
0

Evan Garmaise 
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby Evan Garmaise » Sun Mar 06, 2011 2:22 am

I checked with my users and fixing #2 above fixed the problem. schorradt, just create a .rb file in your subdirectory with one line: "Sketchup::require " and then the name of your scrambled file. Then load that .rb file out of your loader file using SketchupExtension. That will fix the loading problem for your users who have it.
0

Evan Garmaise 
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby EarthMover » Tue Mar 08, 2011 10:38 pm

Thanks Evan. Good advice. I have the same issue, presumably a conflict with Piece Tracer. I'll see if I can do it manually until the author fixes the issue.
0
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup
Content Creator at Skapeup
User avatar
EarthMover 
Premium Member
Premium Member
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby cozzolino13 » Fri Mar 11, 2011 9:50 am

this doesn't work after install scf power toolbar

thank
0

cozzolino13 
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby Gunny » Mon Apr 30, 2012 9:22 pm

cozzolino13 wrote:this doesn't work after install scf power toolbar

thank


quote
0

Gunny 
 

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby schorradt » Fri Mar 21, 2014 8:46 pm

Hello! I am back!

here is an update, tested in Sketchup 2014. At the moment without new features but I'm thinking about.
0
__________________________
http://www.henryschorradt.de/
User avatar
schorradt 
Premium Member
Premium Member
 

Re: [Plugin] Hidden Manager (21.Mar.2014)

Postby Krisidious » Fri Mar 21, 2014 9:06 pm

SCF Toolbar has some files in it that create conflicts. There are two or three files that need to be removed as they are outdated and in the wrong location.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Hidden Manager (21.Mar.2014)

Postby schorradt » Fri Mar 21, 2014 9:20 pm

oh right... i will check it out. thx

do you mean "SCF Power Toolbar v1" or where can i find a new version?
0
__________________________
http://www.henryschorradt.de/
User avatar
schorradt 
Premium Member
Premium Member
 

Re: [Plugin] Hidden Manager (21.Mar.2014)

Postby Krisidious » Fri Mar 21, 2014 10:18 pm

I don't think there is a new one. I think this thread goes over the issues found in it.

viewtopic.php?f=323&t=52474&p=475625&hilit=+custom+toolbar#p475625
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Hidden Manager (21.Mar.2014)

Postby schorradt » Fri Mar 21, 2014 10:56 pm

I think it's more a problem of Toolbar extension. ! Or?
please report error message if you get a conflict with my plugin. thx
0
__________________________
http://www.henryschorradt.de/
User avatar
schorradt 
Premium Member
Premium Member
 

Re: [Plugin] Hidden Manager (21.Mar.2014)

Postby Krisidious » Fri Mar 21, 2014 11:57 pm

Yeah, this has nothing to do with your plugin Henry. This was in response to this.

Re: [Plugin] Hidden Manager (16.Feb.2011)

Postby cozzolino13 » Fri Mar 11, 2011 3:50 am
this doesn't work after install scf power toolbar
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Hidden Manager (21.Mar.2014)

Postby Pherim » Wed Nov 05, 2014 2:39 pm

It doesn't seem to work with SU2015 64bit.
0

Pherim 
 

Re: [Plugin] Hidden Manager (08.Feb.2015)

Postby Pherim » Fri Feb 13, 2015 9:14 pm

Has this been updated for SU2015 64bit? It appears to be working now, though with it installed, SketchUp crashes when I use SketchUV to triangulate faces which are not inside a group or component (quite the opposite of the problem that occured with Components Manager and RoundCorner, where Sketchup would crash when RoundCorners was used inside components).
0

Pherim 
 

Re: [Plugin] Hidden Manager (08.Feb.2015)

Postby Jim » Fri Feb 13, 2015 10:36 pm

This plugin needs an audit. It is well-meant, although careless compilation of code.
0
Hi

Jim 
Global Moderator
 

Re: [Plugin] Hidden Manager (08.Feb.2015)

Postby BMoffa » Tue Feb 24, 2015 7:54 pm

Great plug-in idea. However, I discovered a problem when working with one of my dynamic components when your plug-in is loaded. I started getting hard crashes of Sketchup when I change a parameter that changed the number of copies of a subcomponent. It is so bad that the bug-splat screen doesn't even display. Unloading your plug-in fixes the problem for me. I can send you the dynamic component if it will help.

I am using the Sketchup Pro 15.3.331 64-Bit.
0

BMoffa 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: Alex Kork, elfgamze, hsh12311, hUSEYNOV and 46 guests

Visit our sponsors: