sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    How to replace ALL fonts in a large layout document?

    Scheduled Pinned Locked Moved LayOut Discussions
    layout
    8 Posts 3 Posters 11.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dborowsk
      last edited by

      Hi There!
      I have a large multipage drawing set and am trying to change the typeface of all the notes and dimensions. Can I do this in a single command or do I need to go to each page and select/replace? (I'm on Mac OS using SK/LO 2020)

      Thanks in advance for any help!

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        Safest would be to select all the text on the page and change the font. Then move on to the next page.

        If you like to live on the edge, you could get into the .layout file and edit the font. I have done that successfully once in awhile and unsuccessfully other times.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • D Offline
          dborowsk
          last edited by

          oooOOOoooo i'm intrigued by the second more dangerous version - will make a backup and give that a shot. Bummer you can't change a global "DimStyle" ...

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            The "dangerous version" involves renaming the .layout file to .zip, extracting the contents, editing the .xml files to replace the existing font name with the desired font name. Save the changes, compress the files to .zip and then change it back to .layout. It should be obvious that you don't want to do this with the original file. Instead make a copy of the file.

            For future projects it wouldn't hurt to set your template to use the desired font up front. 😉

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • JasonWDJ Offline
              JasonWD
              last edited by

              Dave, I had no idea that the .layout is just a wrapper for a zip file. That sounds intriguing!

              As soon as I get out of bed I’m going to have a look! (Bring on SketchUp for iPad!)

              I assume the best thing to monkey with xml is notepad?

              SketchUp, Thea Render, Vectorworks PC and Mac - Full LayOut workflow Concept>Production

              1 Reply Last reply Reply Quote 0
              • Dave RD Offline
                Dave R
                last edited by

                Yeah. Notepad is probably best. Also make sure you are working on a copy of the .layout file and not your working file. If you screw something up you can make the file unreadable by layout.

                A side note: Have a look at the Ref folder. Note there'll be a copy of your SketchUp file(s) as well as any image or text type files you might have inserted. That should make it clearer as to how LO works. Also maybe that will make it easier to understand why you should not copy from Sketchup or anything else and paste into LO unless you immediately unlink the reference since the copy and paste operation creates a reference link to a temp file which will absolutely be deleted by your operating system at some point. Also note that if you unlink a reference, LO is only going to look at the embedded version of the file and will no longer look at the original.

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 Reply Last reply Reply Quote 0
                • JasonWDJ Offline
                  JasonWD
                  last edited by

                  Fascinating - I tried hacking a copy file and replaced all the font names but for some reason when I zipped all back together it wouldn't open in LO - I assume whatever Windows is using as the default is compressing the files in a way that LO isn't expecting

                  So all LO is effectively doing is parsing and modifying XML files and making compressed images for viewports. mind blown

                  I used an app called Notepad++

                  SketchUp, Thea Render, Vectorworks PC and Mac - Full LayOut workflow Concept>Production

                  1 Reply Last reply Reply Quote 0
                  • Dave RD Offline
                    Dave R
                    last edited by

                    You might try using 7zip to open the .layout file directly. It'll recognize the file as a zipped archive. Also make sure you use the exact right name for the font you are switching to.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement