• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Add Height from Datum

Scheduled Pinned Locked Moved Plugins
46 Posts 20 Posters 60.9k Views 20 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.
  • T Offline
    TIG Moderator
    last edited by 12 Nov 2009, 10:56

    Here's v1.2
    http://forums.sketchucation.com/viewtopic.php?p=193238#p193238
    It now shows existing datum in the dialog, has a modified leader etc.
    Note the added 'Tip' on relocating the height-text...

    Next big change... is to make it 'dynamic' so that it always shows the height it is at... so if you do move it in the Z it changes it's value to suit...

    TIG

    1 Reply Last reply Reply Quote 0
    • J Offline
      JClements
      last edited by 12 Nov 2009, 11:34

      Dynamic leader text. WOW!

      Thank you, TIG

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 12 Nov 2009, 12:28

        Here's v1.3
        http://forums.sketchucation.com/viewtopic.php?p=193238#p193238
        The main change is that the height-text is 'dynamic' and updates to show the current arrowhead Z-level above datum if the text is relocated. There's also a conversion tool to update any earlier height-text etc... read notes with the download page...

        TIG

        1 Reply Last reply Reply Quote 0
        • J Offline
          JClements
          last edited by 12 Nov 2009, 13:05

          Pretty neat and I never knew you could use the text tool to move leaders (how long have I been using SU?).

          Probably not a bug, but the dynamic leader doesn't update if inside a group.

          John | Illustrator | Beaverton, Oregon

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 12 Nov 2009, 13:23

            @jclements said:

            Pretty neat and I never knew you could use the text tool to move leaders (how long have I been using SU?).
            Probably not a bug, but the dynamic leader doesn't update if inside a group.

            It doesn't update because the height-text hasn't been changed/moved ifthe group has been been moved - this is because the group's origin is where it was before and the height-text refers to that.
            However, a piece of height-text should update if it's moved inside the group whilst the group is being edited: therefore to update all edit the moved group and 'select all' and Move the selection by 0 to kick it into an update...

            However, I'll look at a tweak to see if I can get it to work better within groups etc...

            TIG

            1 Reply Last reply Reply Quote 0
            • K Offline
              ken
              last edited by 12 Nov 2009, 17:00

              TIG

              Thanks for the very useful plugin. I do a illustrations of underwater structures. Would it be possible to “right-click” to set the baseline to the last measurement, such that all further measurement use the new baseline as the “0 ft reference”.

              Again, thank you

              Ken

              Fight like your the third monkey on Noah's Ark gangway.

              1 Reply Last reply Reply Quote 0
              • T Offline
                tranbathao
                last edited by 15 May 2011, 03:47

                thanks TIG, really useful

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Phil Rader AIA
                  last edited by 29 Mar 2012, 20:08

                  Wow this is JUST what I need and you guys are always years ahead of me developing things I cant even imagine I need right now....but I will need it in the future.

                  http://www.philrader.com

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Phil Rader AIA
                    last edited by 26 Sept 2012, 03:41

                    TIG I've been having some bug splats when I move the text in the datum text using the text command. I'll try to narrow down a repeatable crash and let you know.

                    http://www.philrader.com

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pbacot
                      last edited by 26 Sept 2012, 04:18

                      This is very handy. Been using it lately. Thanks!

                      I notice the text seems to "show through" other objects. If you have it inside a house you can see it from outside. Is that special feature? Unusual.

                      MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 26 Sept 2012, 08:08

                        @pbacot said:

                        This is very handy. Been using it lately. Thanks!

                        I notice the text seems to "show through" other objects. If you have it inside a house you can see it from outside. Is that special feature? Unusual.
                        It's plain Text - it does that - try it with some 'ordinary' Text and you'll see how that does it too...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 26 Sept 2012, 08:09

                          @unknownuser said:

                          TIG I've been having some bug splats when I move the text in the datum text using the text command. I'll try to narrow down a repeatable crash and let you know.
                          OK, that's the first report like this - I can't replicate it.
                          If you move it with 'Move' rather than using the 'Text' relocation facilities [needed to 'lock' the arrow-head onto an object - because this can't be done easily in the API]... is it then OK ?
                          Let me know what you find...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • U Offline
                            unclex
                            last edited by 27 Sept 2012, 10:25

                            could add a datum symbol?
                            such as a component skp file, can defined by user

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              Woodarc
                              last edited by 2 Jan 2013, 16:29

                              How do I load this plugin please?

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 3 Jan 2013, 00:13

                                @woodarc said:

                                How do I load this plugin please?
                                There is a .rb file in the first post in this tool's thread. Download that file.
                                Move it into the Sketchup Plugins folder and restart Sketchup...
                                It then auto-loads and adds two items to the Plugins Menu '>>Add Height above Datum' and '>>Set Datum'.
                                Read the tool's instructions on the download page, and others' useful advice in this thread too...

                                NOTE: that since you on a PC you must ensure that you have FULL access rights to the main Plugins folder.
                                To check/fix this - select its icon in Windows Explorer, context-menu > Properties > Security > Edit...
                                Being an Admin is NOT enough to ensure things go smoothly.
                                A file might look to you that it's got put into the Plugins folder, but if you have limited access-rights then Windows may have put it into a VirtualStore - a 'Compatibility Files...' [or similar] button/link in the folder's Windows Explorer top bars is a sure sign of problems...
                                Also have the same FULL rights set for the Components, Materials and Styles folders, since you will also want to write files to these from time to time...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  caronte01
                                  last edited by 8 Mar 2013, 03:18

                                  I really like this one. Very useful.

                                  Tig, thanks a lot!!!

                                  Santiago

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    JClements
                                    last edited by 22 Jan 2015, 23:44

                                    Hi TIG,

                                    Would it be possible to have the Eye Height function of the Look Around tool respect the Datum set by this script? So, for instance, if I set the datum of the origin at 236' 7 1/2", I could input 336' 7 1/2" for eight Eye Height and the camera would rise to 100' above the origin.

                                    John | Illustrator | Beaverton, Oregon

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 23 Jan 2015, 11:11

                                      Sorry John - no easily 😞

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 8 Feb 2017, 13:09

                                        Here's v2.0
                                        http://sketchucation.com/pluginstore?pln=heighttool_datum
                                        It has been updated [after 8 years !]
                                        It's now in a module, avoids global variables etc.
                                        It's also signed for v2016/2017 compatibility in all Loading Policies...

                                        The tool now sets up a submenu in the Plugins|Extensions Menu, its item
                                        'Height Above Datum > Add Height Above Datum' is the main tool.
                                        On selecting it this will become the active tool.
                                        Hovering on a point shows its height above datum (default z=0=ground plane).
                                        Clicking the left mouse button adds a text label with that height
                                        Selecting another tool will stop this being the active tool
                                        Change the tool's Datum using 'Height Above Datum > Set Datum' submenu item
                                        This datum is remembered with each Model as an Attribute.
                                        Any preexisting labels are updated to reflect the new datum.
                                        Convert selected text into height labels using the submenu item
                                        'Height Above Datum > Make Selected Text Dynamic'
                                        Moving a height label vertically changes the height shown in it.
                                        Height labels have an observer attached which auto-updates them.
                                        The observers now properly attach to models/tags irrespective of the way way they are [re]opened...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          JClements
                                          last edited by 8 Feb 2017, 14:53

                                          TIG, first of all, thank you!

                                          Three suggestions for an update:

                                          1- Would it be possible to add to the submenu, an option to specify a new (or existing) layer the leader text would automatically be assigned too?

                                          After using the plugin, a lot for all these years, I find that the text can get in the way at times but is still is required. So being able to turn it off for certain scenes via the Layer Manager is the answer ... but I often forget to change layers before using the plugin.

                                          2- Ability to add prefix-text to a leader's text with descriptors such as "TOS" (top of slab) or "Pipe Invert" . That text would remain even if attached to geometry that is moved but could later be edited manually by the user.

                                          3- Instead of creating the leader with a mouse-click, have it created via click-and-drag. With the current version, many times I have to adjust the leader's position with the text tool immediately after placing it with the mouse-click.

                                          John | Illustrator | Beaverton, Oregon

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

                                          Advertisement