sketchucation logo sketchucation
    • Login
    1. Home
    2. Bob James
    3. Posts
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 66
    • Posts 1,110
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Please install progressbar.rb

      Thanks, TIG. Yes, I'm on a Mac: Finder is not really wonderful. I opened up rubies looking for progressbar: found quite a few, but, as you found out, none had the full phrase.
      I've paired my plugins down to a much smaller subset and the problem has gone away. The only problem I have left is that a dialog box keeps popping up that says that I have trial version of 1001bit even though is is a registered version: that I can live with. I'll start adding other plugins as I come across the need for them and, sooner or later, I'll find the sneaky offender ๐Ÿ˜‰

      I have all of Chris' plugins that you've listed, but they are relegated to "someday if I need you" category. It is good to know, however, that they do not contain the offender.

      Many thanks.

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Please install progressbar.rb

      @jim said:

      I think that's mine, but when I tried to find it on my system I can't locate it. Protrude, maybe?

      It's not Protrude unless it's in one of the .rbs

      Still looking.

      Searching for the entire string "Please install progressbar.rb from smustard.com" is still running (2 hours) and nothing yet ๐Ÿ˜•

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Please install progressbar.rb

      Thanks, Chris. I was hoping it was something simple. I've a ton of plugins, so it will be an interesting exercise.

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Please install progressbar.rb

      I have progressbar.rb installed. I even went out to SMustard and downloaded it again.


      Picture 11.png


      Picture 12.png

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Very heavy model.

      @adamb said:

      Thanks.

      No, its part of that glorious LightUp plugin.. ๐Ÿ˜„

      Adam,

      You may recognize my name from the LU Forum (I'm the one having all the problems with LU freezing the SU window).
      My real question here is: where in LU is the proxy plugin that give the right click "Replace with Proxy" command? If I can ever get LU to work, this proxy capability would be a handy tool since most of my models are "heavy".

      posted in SketchUp Discussions
      Bob JamesB
      Bob James
    • Please install progressbar.rb

      All of a sudden I start getting a SU error dialog box upon startup of SU7Pro.

      I did a search on progressbar, but haven't found anything like my problem. The only plugin that doesn't work is LightUp, but on my MacPro at work LU doesn't work either and I don't get the error message.

      Any suggestions?

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: [Plugin] Point v1.2

      Have a problem loading: see attachment.


      Picture 18.png

      posted in Plugins
      Bob JamesB
      Bob James
    • RE: Call to Mac users for script portability

      Ditto ๐Ÿ‘

      Sorry it took so long: My wife had some "other things" for me to do.

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Call to Mac users for script portability

      Deleted it and re-installed it...


      Picture 8.png

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Call to Mac users for script portability

      I don't see any image buttons nor any change in the cursor.
      Is this the view you wanted to see?


      Picture 2.png

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Call to Mac users for script portability

      Jeff,

      That works ๐Ÿ‘

      Thanks, now I can bend ๐Ÿ˜‰

      Interesting: I made a circle, pulled it into a column, then bent it over. I have no idea how the "windows" got in it, but it's sort of neat โ—


      Picture 25.png

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Call to Mac users for script portability

      Right. It was not intentional. I just drew a circle with the circle tool, pulled it up into a column, made it a group and bent it over. Much to my surprise it developed those neat "windows". Made me think of the Arch in St. Louis.

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Call to Mac users for script portability

      @unknownuser said:

      For you example, do you mean it is not 'intentional'?

      Fredo

      Right. It was not intentional. I just drew a circle with the circle tool, pulled it up into a column, made it a group and bent it over. Much to my surprise it developed those neat "windows". Made me think of the Arch in St. Louis.

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Global Layer Name Change

      Good to go.

      Thanks for taking the time to mess with this small stuff, I certainly appreciate it.

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Global Layer Name Change

      Chris: Yeh, and SU makes it possible for an old duffer like me to do enormously interesting things ๐Ÿ˜„

      TIG: I tried your new commands and, as advertised, I received a list of the layer names in the Ruby Console. Interestingly, the order is not the same: I assume they are in the order that they were created (or something like that)?

      Now what can I do with this with regard to changing names in SU?


      The top part of the Ruby Console list

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Global Layer Name Change

      This is getting REALLY interesting. My large models normally have over 100 layers. Attached is a partial listing for one model. Note the "0 - Small Payload" names: these were changed with your original name changer command - ENORMOUSLY HANDY.

      In my original post I said:

      @bob james said:

      Or if I've developed a new model and want to re-organize the layers with prefixes.

      This is true even for older models that are used as a basic model to which different user equipment is added.

      You said
      @tig said:

      you can then use 'layers' later on - e.g.

      layers.each{|layer|puts layer.name}
      

      which would print out each of the layers' names in turn in the Ruby Console [puts 123] You could then use layers again to do something else - like change some layers' names...

      I see what you said, but don't really know how to implement it.

      Quite often it would be very handy to be able to re-organize the layer names into a better grouping (since there is no provision for sub-layers under a heading layer). In this case being able to have a list of the layers, change the names and then feed it back in. The "feed-back" would probably have to be in the same order as the original name list, but SU would then re-sort them into the new groupings. Is this kind of thing doable?

      You can see some of the scenarios I've done at http://www.calspace.com at Processing Scenario - Small and Processing Scenario - Large


      ![About one-fourth of the layers list. Note the "0 - Small Payload" names: these were changed with your original name changer command - ENORMOUSLY HANDY](/uploads/imported_attachments/XbPH_Picture12.png "About one-fourth of the layers list. Note the "0 - Small Payload" names: these were changed with your original name changer command - ENORMOUSLY HANDY")

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Call to Mac users for script portability

      I can't seem to make "Slicing Active by Default" preference "stick".

      I went into preferences and marked the "Slicing Active by Default" box.
      Then I restarted SU7 (mac) and when I went to preferences the box was empty again.

      Comments?


      Checking the box


      After restarting SU7 (Mac)

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Global Layer Name Change

      Gave it a try. This is what I got:

      txt1="3 Studio";txt2="3 Wood Room";Sketchup.active_model.layers.each{|layer|layer.name=layer.name.gsub(txt1,txt2)}
      #Sketchup::Layers:0x206dd8d0

      I don't know what that second line means, but the layer names were changed
      I'm amazed that that simple command did the trick!

      Thank you Ruby Master TIG ๐Ÿ‘

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: Global Layer Name Change

      Thanks again, TIG.
      I wasn't trying to make it more complicated: I used to program in Basic, Fortran IV and Algol (guess that dates me ๐Ÿ˜Ž ๐Ÿ˜ฎ) and, more recently, making macros in Excel and Access. It was the only way I knew how to try to communicate what I needed.

      Again, thank you.

      One, hopefully last, dumb guy question: do I make what you gave me into a ruby (Rename_layers.rb) and then type the other into the ruby console?

      posted in Developers' Forum
      Bob JamesB
      Bob James
    • RE: [Plugin] Center on Origin UPDATE May 23, 2013

      Very useful, Chris, thanks for taking the time to create it. ๐Ÿ‘

      posted in Plugins
      Bob JamesB
      Bob James
    • 1 / 1