sketchucation logo sketchucation
    • Login
    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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] AreaTextTag

    Scheduled Pinned Locked Moved Plugins
    97 Posts 27 Posters 77.7k Views 27 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      If the chosen font has no superscript 2 '²' it won't be shown.
      What font is used?
      Do you get one with other fonts [use the Settings dialog to adjust various aspects of the AreaText tags] ?
      It might be your Chinese OS ?
      Do you get any error messages in the Ruby Console [I'd expect not, because 3dText simply skips over missing characters in a font's collection].
      If you copy paste this [ 1.23 m²] into the native 3dText tool's pane, for the same font [Arial?] what gets made ? Does the final '²' appear or not ??
      This is what my Arial-Font AreaText tag looks like...


      Capture.PNG

      TIG

      1 Reply Last reply Reply Quote 0
      • guanjinG Offline
        guanjin
        last edited by

        I choose Times New Roman, but the display unit does not

        I come from China, is to learn

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

          @guanjin said:

          I choose Times New Roman, but the display unit does not

          Have you tried my copy/paste suggestion using the native 3dText tool ?

          TIG

          1 Reply Last reply Reply Quote 0
          • guanjinG Offline
            guanjin
            last edited by

            Paste the local, show normal

            I come from China, is to learn

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

              It works fine for our western PCs? 😕
              As a temporary fix...
              Edit the main .rb file inside this tool's subfolder using Notepad.exe.
              Find the 4 occurrences of the text
              .gsub(/2/,"²")
              and change it to read
              .gsub(/2/,"2")
              then you will get
              1.23 m2
              instead of the intended [but failing]
              1.23 m²
              which whilst not perfect it is better.
              If you would prefer
              1.23 m^2
              then change the replacement text
              .gsub(/2/,"2")
              to be
              .gsub(/2/,"^2")

              TIG

              1 Reply Last reply Reply Quote 0
              • guanjinG Offline
                guanjin
                last edited by

                Thank you, of TIG: has been resolved, thanks again!

                6666.gif

                I come from China, is to learn

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jeff2047
                  last edited by

                  got it, thanks share

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Bokkie
                    last edited by

                    hi, was wondering if this plugin will / could, extract or copy an atrribute's value, when inserted into a block with attributes?

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

                      It reports the area of the face it's 'attached' to.
                      The face/tag need to be in the same context.
                      It doesn't 'report attributes'.
                      There are other tools that do that, but you need to be somewhat clearer in your question...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        ffox
                        last edited by

                        Thank you, I am finding all of this really helpful.

                        I searched through the chain and don't think that this has been addressed yet. I am wondering if it is possible to input two text entries per tag. For example, "room #" and "department" both associated with the same square footage, so when exported, you have two text columns per sf which can be sorted accordingly.

                        Thanks in advance!

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          gclyde
                          last edited by

                          Hi,
                          Would it be possible to select and group a number of faces and give a tag that relates to the total surface area of all selected faces?

                          In addition, would it be possible to produce a similar ruby that totals up the lengths of selected lines/junctions? (not necessarily the perimeter of a face)...this would be icing on the cake for me 😍

                          Thanks

                          Graham

                          1 Reply Last reply Reply Quote 0
                          • atelierpaarA Offline
                            atelierpaar
                            last edited by

                            Hello TIG
                            Great script !!
                            Since I am always short in space it would be of great help if it would we possible to have 2-line Text-Tags for instance :

                            Entrance
                            30 m²

                            alignment options

                            • Left
                              Right
                              Center
                              Thanks for looking into it
                              Uli
                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              billmorr
                              last edited by

                              Hi TIG

                              Firstly, great plug in - thank you for that 😄

                              It seems to crash my SU 2015 (Mac version)when installed alongside Twilight renderer.
                              I have just uninstalled Twilight and everything is cool again.

                              Just thought i'd report the clash in case anyone else has the same problem or if you can fix?

                              Bill

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                billmorr
                                last edited by

                                Hi TIG

                                Firstly - great plugin - thank you for this 😄

                                Just discovered on SU 2015 on my Mac, that it crashed SU if Twilight is installed at the same time

                                Don't know if you can fix?

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mcmcxlxl
                                  last edited by

                                  Hi tig,
                                  Thank you for this Tag plugin.

                                  I modified it quite deeply to make it easier.
                                  Could you give me your mail so that i can send it to you.

                                  I would appreciate some critics because i'm not a programmer (but architect) and the way i program is dirty.

                                  Michael

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

                                    Please use the "Private Message" option here to exchange non-public info...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mcmcxlxl
                                      last edited by

                                      Sorry
                                      hmm. I have no access to private messages...

                                      Michaël

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

                                        New members get access to PM-ing after a few valid posts - so try again...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • atelierpaarA Offline
                                          atelierpaar
                                          last edited by

                                          Hello Tig,
                                          these Area Tex Tags are great - thanks for offering this plugin.
                                          After installing SU 2017 they won`t work anymore and I am in trouble.
                                          Do you have a chance to look into this ?
                                          Thanks already
                                          Ulrich

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

                                            The error in the Ruby Console tells the story.
                                            Unfortunately v2017 looses earlier references set to the contents of a group, e.g. when it's exploded, so the code fails, I'm currently fixing this weirdness in my ExtrudeTools...
                                            However, it might be some other Ruby2.2 foible...
                                            I'll look into this tool asap...

                                            TIG

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

                                            Advertisement