sketchucation logo sketchucation
    • Login
    1. Home
    2. renderiza
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🚨 Skimp | 25% Off until March 30 Buy Now
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 98
    • Posts 783
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [Plugin] Rename by Layer v1.0.3

      You can make the content smaller by pressing ( ctrl - ). What is the resolution of your screen...can I see screen capture?

      In the future maybe collapsible tabs may help but not sure.

      Thanks

      posted in Plugins
      renderizaR
      renderiza
    • Flood rescue operation continues in Colorado.

      I was shocked at this news...hope everyone is safe.

      posted in Corner Bar
      renderizaR
      renderiza
    • RE: Ruby Programming Course discount

      Very good deal thank you!

      posted in SketchUp Discussions
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      [pre:m1n0fdbx]Authors:: | Bagatelo| Renderiza |
      Plugin Name:: Rename by Layer
      Version:: 1.0.2
      Date:: 9/14/2013
      Cost:: Free[/pre:m1n0fdbx]
      Rename by Layer v1.0.2 is now available for download.
      %(#909090)[Thanks to the people that contributed ideas to make the plugin better! πŸ‘]

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      @jql said:

      The only option the plugin lacks right now could be "renaming selection only".

      Will try to add this feature for next update.

      @jql said:

      In other words your dialog would have a logo that would say "My name is: rename by GROUP".

      Good idea indeed will see if I can work on it. πŸ‘

      @jql said:

      An image that crosses my mind would be Swiss Army Kname... πŸ˜•

      Love it! 🀣 πŸ‘

      @jql said:

      However if one could somehow choose to rename/clear only instances names or definition names the job would be handled much easily.

      Will see how that can be a feature for next update.

      Note: By the way thanks for making me laugh! 🀣 πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      @jql said:

      I wouldn't know where to insert the code you have there...

      To test code I recommend using [as] Ruby Code Editor - http://extensions.sketchup.com/en/content/ruby-code-editor ... but there are other good ones as well.

      @jql said:

      I'm curious though: are you considering the idea of making a new plugin that would be based on groups instead of layers?

      I am having difficulties in picturing exactly how will it work...can you give me an example to see if I understand better?

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      [pre:1trtoyqg]Authors:: | Bagatelo| Renderiza |
      Plugin Name:: Rename by Layer
      Version:: 1.0.1
      Date:: 9/13/2013
      Cost:: Free[/pre:1trtoyqg]
      Rename by Layer v1.0.1 is now available for download.

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      @jql said:

      however, I would somehow expect that components and groups on layer 0 that were nested inside a component on layer X would be renamed after layer X.

      Here is little test code that will take the subgroups that are on layer0 and name them with the parent layer name.

      model = Sketchup.active_model
      ents = model.active_entities
      groups = ents.grep(Sketchup;;Group)
      
      groups.each do |group|
        gg = group.entities.grep(Sketchup;;Group)
        gg.each do |g|
          g.name = group.layer.name
        end
      end
      

      Will see how this feature can be integrated in future update to existing code. Since other requests are already done maybe will go ahead and release them first and then add what we just mentioned. Thanks for suggestions! πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      @matt.gordon320 said:

      hanks Renderiza! Great work as always...I do have a possible request if there think there'd be a place for it. I usually precede my component names with symbols (like !, @, #, $, %, ^, etc) so that they show up in the order I want in the component menu. It's a little odd to get used to, but it lets me organize my components by importance and amount of detail. Would there be a possibility of appending a customizable section in front of the renaming the script does? I can give an example of a model if you like, of course.

      Thanks!

      I am adding the "prefix" & "suffix" feature for the numbers. For example:
      prefix = 001 - layername
      suffix = layername - 001

      Will see how I can integrate costume prefix & suffix with a text input.

      If you want to send example that will help me understand better it will be appreciated indeed. Thanks for suggestions!

      Note: I have also added the filter for Active Layer and will post new update soon.

      posted in Plugins
      renderizaR
      renderiza
    • RE: Plugin Idea - Maya's HotBox?

      This is very good idea that cold potentially increase working speed.

      Here is a video of a plugin with interesting concept as welll...

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      Very nice resource to study thanks!

      posted in Plugins
      renderizaR
      renderiza
    • RE: [Request] A one button texture rotate solution

      TIG developed TextureTools v1.5 ... http://sketchucation.com/forums/viewtopic.php?p=329765#p329765

      Feature that will work with arrow keys:

      • TextureRotate
      • TextureAdjust
      • TextureShunt
      • TextureNudge
      • TextureScale
      • TextureTweak
      posted in Plugins
      renderizaR
      renderiza
    • RE: [Plugin] Rename by Layer v1.0.3

      @jql said:

      Could the plugin be adapted to also have a filter for the active layer?

      That would be really useful indeed so let me see if I can add it on next update.

      posted in Plugins
      renderizaR
      renderiza
    • RE: [req]rename objects with name of the layer

      @bagatelo said:

      You could change the code to rename the definition name?

      With the code below the definition name is created.

      model = Sketchup.active_model
      ents = model.active_entities   
      groups = ents.grep(Sketchup;;Group)
      components = ents.grep(Sketchup;;ComponentInstance)
      num = 0
      
      groups.each do |group|
        group.name = nil.to_s
      end
      
      groups.each do |group|
        if group.name == nil.to_s
          num=0
        end
       
        groups.each do |g|
          if group.layer.name == g.layer.name
            if g.name == nil.to_s
              num+=1
              bytenum = num.to_s.length
              if bytenum == 1
                zeros = "00"
              end
              if bytenum == 2
                zeros = "0"
              end
              if bytenum >= 3
                zeros = nil.to_s
              end
              g.name = group.layer.name.concat(" - #{zeros}#{num}")
            end
          end
        end
      end
      
      components.each do |component|
        component.name = nil.to_s
      end
      
      components.each do |component|
        if component.name == nil.to_s
          num=0
        end
       
        components.each do |c|
          if component.layer.name == c.layer.name
            if c.name == nil.to_s
              num+=1
              bytenum = num.to_s.length
              if bytenum == 1
                zeros = "00"
              end
              if bytenum == 2
                zeros = "0"
              end
              if bytenum >= 3
                zeros = nil.to_s
              end
              #c.name = component.layer.name.concat(" - #{zeros}#{num}")
              c.definition.name = component.layer.name.concat(" - #{zeros}#{num}")
            end
          end
        end
      end
      

      @bagatelo said:

      The reason I asked this plugin is because I'm trying to use the plugin "Solid Quantify by TAK2HATA". It's a wonderful plugin, and I need something to easily modify the names of components. Note the attachment files.

      Will check it out indeed.

      posted in Plugins
      renderizaR
      renderiza
    • RE: [req]rename objects with name of the layer

      I will eventually make an extension plugin with web-dialog that offers some options for the user. For now the code bellow displays the numbers like you suggested.

      model = Sketchup.active_model
      ents = model.active_entities   
      groups = ents.grep(Sketchup;;Group)
      components = ents.grep(Sketchup;;ComponentInstance)
      num = 0
      
      groups.each do |group|
        group.name = nil.to_s
      end
      
      groups.each do |group|
        if group.name == nil.to_s
          num=0
        end
       
        groups.each do |g|
          if group.layer.name == g.layer.name
            if g.name == nil.to_s
              num+=1
              bytenum = num.to_s.length
              if bytenum  == 1
                zeros = "00"
              end
              if bytenum  == 2
                zeros = "0"
              end
              if bytenum  >= 3
                zeros = nil.to_s
              end
              g.name = group.layer.name.concat(" - #{zeros}#{num}")
            end
          end
        end
      end
      
      components.each do |component|
        component.name = nil.to_s
      end
      
      components.each do |component|
        if component.name == nil.to_s
          num=0
        end
       
        components.each do |c|
          if component.layer.name == c.layer.name
            if c.name == nil.to_s
              num+=1
              bytenum = num.to_s.length
              if bytenum == 1
                zeros = "00"
              end
              if bytenum == 2
                zeros = "0"
              end
              if bytenum >= 3
                zeros = nil.to_s
              end
              c.name = component.layer.name.concat(" - #{zeros}#{num}")
            end
          end
        end
      end
      

      Will keep you posted on further development...Cheers! πŸ‘

      @bagatelo said:

      And I also like to know if we can do it in the whole model or only visible layers....

      Right now it does it to all layer no matter if they are visible or not. But an option for only renaming visible layers could be done.

      posted in Plugins
      renderizaR
      renderiza
    • RE: [req]rename objects with name of the layer

      @bagatelo said:

      Look what I have when I try to execute the last code...
      Cleared the editor
      Running the code...
      Done. Ruby says: Run aborted. Error: undefined method β€˜bytesize’ for "1":String

      This was an error on my part by using bytesize’ method which I will change to 'length' so it will work. Will try to update all the code example above to eliminate that issue.

      I also published the plugin as an extension on Plugin Store as 'Rename by Layer' here is the link... http://sketchucation.com/resources/pluginstore?pln=RND_Renamer_v1.0.0

      Also I made another topic here for future updates and stuff... http://sketchucation.com/forums/viewtopic.php?p=490834#p490834

      Any feedback about the plugin will be great so I know that to fix on next update...Cheers! πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • RE: [req]rename objects with name of the layer

      @dedmin said:

      Great plugin! It would be useful to have "append layer name as prefix/suffix" to the component's name.

      Great idea! I saw this just about when I published the first version to Plugin Store but maybe for next update your suggestion will be added.

      Here are some links for the plugin;

      Link Preview Image
      SketchUp Plugins | PluginStore | SketchUcation

      SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

      favicon

      (sketchucation.com)

      http://sketchucation.com/forums/viewtopic.php?f=323&t=54165

      Note: Something important that I noticed about definition names is that if you have 2 entities which are component instances they can't have different definition names.

      For example;
      Will not be named like below;
      Layer: Door
      component instance#1 definition name = Door - 001
      component instance#2 definition name = Door - 002
      component instance#3 definition name = Door - 003
      component instance#4 definition name = Door - 004

      They will be name like this;
      component instance#1 definition name = Door - 004
      component instance#2 definition name = Door - 004
      component instance#3 definition name = Door - 004
      component instance#4 definition name = Door - 004

      Remember that its a rule that they must be the same. The numbers for definition name will only serve to display the total amount.

      Cheers! πŸ‘

      posted in Plugins
      renderizaR
      renderiza
    • [Plugin] Rename by Layer v1.0.3

      [pre:j1eenfiw]Authors:: | Bagatelo| Renderiza |
      Plugin Name:: Rename by Layer
      Version:: 1.0.3
      Date:: 9/17/2013
      Cost:: Free[/pre:j1eenfiw]
      Rename by Layer

      %(#909090)[Groups and Components are renamed with the layer name they are on or name specified by user with the option to add number that will increase per entity.

      The idea for this plugin is by Bagatelo which he requested on this forum topic... http://sketchucation.com/forums/viewtopic.php?p=490389#p490389]

      %(#909090)[Features

      • All Layers- Rename groups & components inside all layers no matter if they are visible or hidden.
      • Visible Layers - Rename groups & components inside layers that are visible.
      • Hidden Layers - Rename groups & components inside layers that are hidden.
      • Active Layer - Rename groups & components inside active layer.
      • Active Selection - Rename groups & components that are selected only.
      • Keep existing name - Doesn't delete previews name.
      • Layer name - Use layer names to rename your groups & components.
      • Input name - type any name for renaming groups & components.
      • Add Numbers - Toggle on or off the option to add numbers at the end or front of the name that will increase per entity at the end.
      • Name & Def Name - Choose to place name inside both name & definition name fields or individually.
      • Entity Type - Choose to rename both groups & components or select only one between the two.

      Menus & Toolbars

      • Plugins Β» Renderiza Tools Β» Rename by Layer
      • Toolbar button Β» Rename by Layer]

      http://s21.postimg.org/ca6yjxad3/Logo_215.png

      Available at
      sketchUcation
      pluginStore
      click here

      ______________________________________________________________________

      Extension Warehouse

      click here

      Note: If the latest version is not yet available at Extension Warehouse that means it is still awaiting to be approved by the quality assurance team to make sure extension meets the technical and security requirements.

      ______________________________________________________________________

      Web-Dialog

      http://s24.postimg.org/5vm6hkvlh/web_103.jpg

      ______________________________________________________________________

      Recommended Plugins :

      Layers Panelby jiminy-billy-bob- Its similar to existing 'Layer Window' but adds the ability to group layers, sort them, hide/collapse groups, etc..

      posted in Plugins
      renderizaR
      renderiza
    • RE: [req]rename objects with name of the layer

      @bagatelo said:

      [Re] name
      I think you could create something that rename numerous things, such as materials, components, Layers, etc ...
      "Central [Re] name"
      viewtopic.php?f=323&t=47234
      viewtopic.php?f=323&t=53329

      Really like that idea and the name "[Re]Name" is very fitting. But since that idea is more ambitious its advised to work our way there little by little.

      Maybe starting with renaming groups & components by layer for now and making that into an extension by itself with a different name than "[Re]Name".

      We can name the extension "Rename by Layer". Here is a Logo for the plugin...Any feedback is welcome.

      http://s17.postimg.org/m6twx3ekv/Logo_Default.png

      I started working on making the extension with web-dialog and plan to keep you posted on further progress...cheers!

      posted in Plugins
      renderizaR
      renderiza
    • RE: [req]rename objects with name of the layer

      Any suggestions for what should be the name of the plugin?
      Below are potential names...

      • Name by Layer
      • Rename by Layer
      • Entities Name by Layer
      • [Re]Name
      • Renamer
      posted in Plugins
      renderizaR
      renderiza
    • 1 / 1