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

    Hide dimensions text

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    14 Posts 4 Posters 5.4k Views 4 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.
    • K Offline
      KeeneAnderson
      last edited by

      Good day,

      I have been working on graphics for a guidebook and the editor has requested my images without text. Is there any way to 'hide' all the text including the dimension text without the dimension lines and leaders changing?

      Thanks

      KA

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        You could write some short code [one-liner pasted into the Ruby Console + <enter>] to replace all text using ' ' [space], that way all text in the model [use a copy please!] becomes ' ', you'll keep the leader, but the text is then 'invisible'.
        Sketchup.entities.each{|e|e.text=" " if e.class==Sketchup::Text}
        to process Text inside nested groups/components try
        Sketchup.definitions.each{|d|next if d.image?;d.entities.each{|e|e.text=" " if e.class==Sketchup::Text}}
        Unfortunately there's no equivalent code to do the same with a 'dimension'.
        If you want to have the dimension line/arrows without any text, then you must edit each one manually in turn ,and replace [paste] the text with ' '...
        πŸ€“

        TIG

        1 Reply Last reply Reply Quote 0
        • K Offline
          KeeneAnderson
          last edited by

          Thanks for the quick response! Unfortunetely my code and ruby console experience falls into a catagory between zero and ziltch. 😞 However, the images that I am producing aren't that text and dimension extensive and manually editing each one shouldn't be a problem. What is the 'input' that I replace the text with in order to have it 'invisible'?
          @keeneanderson said:

          ,and replace [paste] the text with ' '...

          ' '... = apostrophy, space, apostrophy, period, period, period ?

          Cheers

          KA

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

            If you are just editing the dimension text manually, just use a space. No apostrophes. That would be a catastrophe. πŸ˜„

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • K Offline
              KeeneAnderson
              last edited by

              That works perfect! Saved me from a catastrophe. πŸ˜† Thanks again!

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                If I had put a space alone without the '' you wouldn't have seen it, and if I typed it as 'space' you'd have typed it πŸ˜’
                BTW IF you want to revert to the actual dimension add <>
                If you want to add text AND the actual dimension use TEXT <> and the <> part is auto-replaced with the dimension in current units.
                πŸ˜•

                TIG

                1 Reply Last reply Reply Quote 0
                • jgbJ Offline
                  jgb
                  last edited by

                  Simpler yet, just put all your text/dimension objects on a separate Documentation layer. That way you can turn them on or off at will.


                  jgb

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

                    @jgb said:

                    Simpler yet, just put all your text/dimension objects on a separate Documentation layer. That way you can turn them on or off at will.

                    How do you separate the dimension text from the arrows?

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • jgbJ Offline
                      jgb
                      last edited by

                      @dave r said:

                      @jgb said:

                      Simpler yet, just put all your text/dimension objects on a separate Documentation layer. That way you can turn them on or off at will.

                      How do you separate the dimension text from the arrows?

                      Good point; I thought he meant all of the dim.

                      I will slink off now.... 😳


                      jgb

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        You can't layer a dim's geometry and text separately.
                        However, layering dims/text IS a very useful tool...
                        To 'hide' a dim's text, but leave its line/arrows you have to replace the dim's text with a space ' '...
                        OR make/find/install a custom ttf font where all the characters are 'blank' and then use that font for your [selected] dims [temporarily], so they are not visible [but retain their text, with not further editing needed].
                        Later on you can swap back to a standard font - say 'Arial' - which makes the dim's text visible again...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • jgbJ Offline
                          jgb
                          last edited by

                          I started to play with this, however limited that is.

                          One partial solution (sort of!) is to make the text 1 point or .001 in high. That effectively makes the text almost invisible (looks like a small line) πŸ‘ but, and a big but... the arrowheads also disappear. πŸ‘Ž πŸ˜’


                          jgb

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            Get a 'blank ttf' Font... This 'Invisble.ttf' is OK. The 'infinity' symbol is its visible character [tiny dot]...Invisible.zipCapture.PNG

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • jgbJ Offline
                              jgb
                              last edited by

                              This would be ideal to hide copyright notices within the model.

                              See topic.....

                              http://forums.sketchucation.com/viewtopic.php?f=15&t=42399&p=379799#p379799


                              jgb

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

                                @jgb said:

                                This would be ideal to hide copyright notices within the model.

                                See topic.....

                                http://forums.sketchucation.com/viewtopic.php?f=15&t=42399&p=379799#p379799

                                πŸ‘

                                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