sketchucation logo sketchucation
    • Login
    1. Home
    2. Ludolff
    3. Posts
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Is there a plugin to batch rename scenes?

      @tig said:

      n=inputbox(["Prefix; "],["N"],"Scene_Rename");Sketchup.active_model.pages.each_with_index{|p,i|p.name="#{n[0]} #{i+1}"}if n;puts
      

      Copy+paste+enter this Ruby one-liner into the Ruby Console - it renames all scene-tabs in order with the 'Prefix' - e.g. 'N 1', 'N 2' etc...
      The dialog lets you type in any desired 'Prefix'...

      Hi TIG, Many thanks for this code. Is there anyway of adding some code to this that will allow you to select the scenes to rename?

      Ludolff

      posted in Plugins
      L
      Ludolff
    • 1 / 1