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

    [Plugin] AreaTextTag

    Scheduled Pinned Locked Moved Plugins
    97 Posts 27 Posters 76.3k 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

      @baldaman said:

      Finally you finished it!!!

      Two question:
      would it be difficult to have the possibility to tag an ensemble of selected faces without having to pick them?
      would it be difficult to have the possibility to update an ensemble of selected tags without having to pick them?

      Area checking and reporting without leaving Sketchup: I dreamed of it for so long!

      In an early draft I had a mass tagger BUT it put the tag at each face's center and there was no opportunity to have additional text - so I shelved it.
      As you would need to initially select these faces to tag them en mass then picking the face and adding a tag at the point, and then adding some additional text [or press enter to add 'none'] is little extra work and allows you more control over what you get - you'd need to go round relocating and Editing the extra text anyway ?.
      You Edit ONE preselected tag at a time because you are changing its 'text' part, BUT you can select multiple tags and Update them en mass - since only the 'current-settings' and the face's area are changed in each tag. You don't need to pick tags individually to do this Update - you can select by picking using +Ctrl to add to the selection... OR even easier use a 'fence' to select them - because any non-tags are ignored you can have other objects in this selection so you don't need to be too careful, just make sure you've included what you want [non-tags are skipped anyway]...

      TIG

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

        Thank you for your response
        I think I understanded 90% (my english is not perfect)
        My thought: I think majority of people will use it to check and report surfaces of different rooms in a building.
        I mean if it is not for presentation purpose you don't really care about changing text but being able to select a bunch of rooms and tag them with a click could be really amazing!
        Anazing, once again you bring Sketchup a step forward! πŸ‘ πŸ‘ πŸ‘ πŸ‘

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

          Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=373717#p373717
          Please re-read the instructions as there are some major changes...

          Now made as an Extension and a Toolbar has been added.
          Now comes as a .rbz installer or a .zip file to suit Sketchup v8M2 and earlier users...
          UK friendly 'm2(ft2)' units option added to Settings.
          Edit/Update now ensures each Tag is a unique instance.
          Update ALL active tags option added if there is NO initial Selection.
          Update highlights unglued/duplicated tags, for manual deletion.
          Update is now done automatically before making a CSV export.
          CSV report now ignores unglued/duplicated tags [highlighted for manual deletion].
          CSV report includes two extra columns if units are 'm2(ft2)'.
          New 'Tag Selected Faces' tool added for 'batch tagging' of Selected OR ALL active Faces.Enjoy... πŸ˜„

          TIG

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

            Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=373717#p373717
            Please re-read the instructions as there are some changes...

            The Update Tool now has an option to update 'area only' OR 'everything' [Yes|No] - i.e. 'area AND text formating to current-settings'.
            The auto-update that runs before the CSV report is made now will only updates the areas and leaves the formating alone.Enjoy... πŸ˜„

            TIG

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

              Thank you SANTIG CLAUS
              β˜€

              1 Reply Last reply Reply Quote 0
              • jim smithJ Offline
                jim smith
                last edited by

                A HEARTY THANK YOU TIG! πŸ‘ πŸ‘

                A very usefull and time saving tool

                "Out of clutter find simplicity,
                from discord find harmony,
                In the middle of difficulty lies opportunity"
                Albert Einstein

                1 Reply Last reply Reply Quote 0
                • L Offline
                  lexmonteiro
                  last edited by

                  Thank you so much!
                  share the knowledge magnifies the world!
                  Happy new year!

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

                    Can not correctly display units, display units to meters. I can not upload pictures, thank you! !

                    I come from China, is to learn

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

                      Unit shows that correct? ? I have a problem or operation! Thank you!

                      I come from China, is to learn

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

                        Unit shows that correct? ? I have a problem or operation! Thank you!ζœͺ命名.jpg

                        I come from China, is to learn

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

                          Guanjin
                          Because you have a Chinese OS I suspect that the character-mapping is preventing the 'm2' >>> 'mΒ²' etc.
                          However, it might be that the font you chosen doesn't have a 'Β²' character ??
                          Try using 'Arial' to see this - as that should have all needed characters...

                          The code in the ' TIG-AreaTextTag.rb' file inside the ' TIG-AreaTextTag' subfolder can be adjusted to leave it as 'm2'. The dialogs use 'm2' etc BUT it then translates it into 'mΒ²' for the text in the SKP...

                          To edit the code, open that TIG-AreaTextTag.rb file using ***Notepad.exe*** or a similar plain-text editor [NOT a wordprocessor]...

                          On lines #352, #532, #799 AND #951 you'll see this text
                          atxtu=atxt+" "+(@units.tr("2","**Β²**"))
                          edit them to read
                          atxtu=atxt+" "+(@units.tr("2","**2**"))
                          Also just below on lines #355, #535, #802 AND #954 it reads
                          atxtu=atxt+" mΒ²"
                          change them to
                          atxtu=atxt+" m**2**"
                          and just below on lines #357, #537, #804 AND #956 it reads
                          atxtu2=atxt2+" ftΒ²"
                          change them to
                          atxtu2=atxt2+" ft**2**"

                          OR you can simply use 'find/replace' for the text 'Β²' replacing it with '2' πŸ˜’

                          Save and restart Sketchup, the areas should now report as 'm2' etc...

                          TIG

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

                            @tig said:

                            Guanjin
                            Because you have a Chinese OS I suspect that the character-mapping is preventing the 'm2' >>> 'mΒ²' etc.
                            However, it might be that the font you chosen doesn't have a 'Β²' character ??
                            Try using 'Arial' to see this - as that should have all needed characters...

                            The code in the ' TIG-AreaTextTag.rb' file inside the ' TIG-AreaTextTag' subfolder can be adjusted to leave it as 'm2'. The dialogs use 'm2' etc BUT it then translates it into 'mΒ²' for the text in the SKP...

                            To edit the code, open that TIG-AreaTextTag.rb file using ***Notepad.exe*** or a similar plain-text editor [NOT a wordprocessor]...

                            On lines #352, #532, #799 AND #951 you'll see this text
                            atxtu=atxt+" "+(@units.tr("2","**Β²**"))
                            edit them to read
                            atxtu=atxt+" "+(@units.tr("2","**2**"))
                            Also just below on lines #355, #535, #802 AND #954 it reads
                            atxtu=atxt+" mΒ²"
                            change them to
                            atxtu=atxt+" m**2**"
                            and just below on lines #357, #537, #804 AND #956 it reads
                            atxtu2=atxt2+" ftΒ²"
                            change them to
                            atxtu2=atxt2+" ft**2**"

                            OR you could try to use 'find/replace' for the text 'Β²', replacing it with '2'... πŸ˜’

                            Save and restart Sketchup, the areas should now report as 'm2' etc...

                            Thank you for your reply, I went to give it a try! Thank you!

                            I come from China, is to learn

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

                              The first problem to solve, but the button 2 to select or m
                              Demo map
                              11111111c.gif

                              I come from China, is to learn

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

                                You must change the 'Β²' in several places in the file... looks like you missed some of them... 'find' every 'Β²' and make it into a '2'... it clearly works for the lines that you have adjusted successfully... One last try πŸ˜„

                                TIG

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

                                  @tig said:

                                  You must change the 'Β²' in several places in the file... looks like you missed some of them... 'find' every 'Β²' and make it into a '2'... it clearly works for the lines that you have adjusted successfully... One last try πŸ˜„

                                  Problem solved, thank you again! Master πŸ‘ πŸ‘ πŸ‘ πŸ‘

                                  I come from China, is to learn

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

                                    Hi TIG

                                    I think this plugin could become very usefull for me πŸ˜„

                                    But I have some problems, but it might just be me that use it wrong.

                                    My workflow would be, create some rectangles and add the tag e.g.:
                                    office (30)\n<> where 30 is the size the client would like.

                                    But the problem is that the different rooms can't be grouped, so when they get close to one another the 'glue' together.

                                    Could it be an idea that the tags glues to groups ?

                                    Just an idea πŸ˜„

                                    some other future features could be:
                                    import excel / csv files and automatic create the rooms
                                    room_name room_size
                                    office 20

                                    Scheme
                                    Generate a scheme that calculates the actual room size vs the size client wishes.

                                    Thanks
                                    I really admire the hard work you (and others) do to improve SU.

                                    ps. SU7 seems to crash when using this plugin.

                                    sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

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

                                      Bo

                                      You can group faces and still apply Tags.
                                      You simply need to edit that group and then apply an AreaTextTag onto a face within that group: the only 'rule' is that the face and its Tag must be in the the same 'context' - i.e. active_entities set.
                                      I have already written a commercial toolset for a US Space-Planning/Architects company which imports/exports data from/to XLS/XLSX files and creates/writes rooms to match... however, it's not publicly available - but it is quite do-able...
                                      It should work OK in v7... what error messages do you get ?

                                      TIG

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

                                        Hi TIG

                                        Thanks for your reply.

                                        Su7 crashes when I select "add.... to selected faces" SU quits and a splashscreen pops up.

                                        I was not awere of the "inside the group" feature.

                                        You write that You have made a 'pro' version. Do you consider releasing a commerciel Pro version ?

                                        Thanks

                                        sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          arqitect
                                          last edited by

                                          Hi TIG,
                                          When applying the plugin to a selection set, would it be possible to process softened meshes as single entities? Basically output the sum area of all sub faces in similar way to what sketchup contextual command does. It would be very useful as an option.
                                          Many thanks

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

                                            @arqitect said:

                                            Hi TIG,
                                            When applying the plugin to a selection set, would it be possible to process softened meshes as single entities? Basically output the sum area of all sub faces in similar way to what Sketchup contextual command does. It would be very useful as an option.
                                            Many thanks
                                            It'd not be that easy to code in... I'll think about it... πŸ˜•

                                            TIG

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

                                            Advertisement