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

[Plugin] Dimension management tools

Scheduled Pinned Locked Moved Plugins
25 Posts 12 Posters 49.6k Views
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.
  • S Offline
    slbaumgartner
    last edited by 16 Jul 2015, 18:13

    Some followup questions about the desired functionality:

    Since the dimensions are nested inside a component as a side-effect of importing the submodel, should they be exported back to the model context as well as placed on a layer? Couldn't you just explode the new component since it wasn't really that way in the submodel (or was it)? I'm worrying about the classic confusion over nested contents on layers other than layer0.

    1 Reply Last reply Reply Quote 0
    • J Offline
      JClements
      last edited by 16 Jul 2015, 18:51

      My first impulse is to manage the dimensions just via layer manager that way if you export the component or cut and paste, the layer goes with it.

      Placing the dimension outside of their context could result in all sort of unwanted issues.

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • S Offline
        slbaumgartner
        last edited by 16 Jul 2015, 20:38

        Please give the attached a try and see if (a) it does what you need, and (b) there are bugs.

        Thanks
        Steve


        dimension_utilities.rbz

        1 Reply Last reply Reply Quote 0
        • C Offline
          chrisik
          last edited by 11 Aug 2015, 11:07

          Thank you very much for this plugin, I use it very often.
          Is it possible to set the current scene name automatically as the default layer name when you create a new layser? Which modifications to the rb file have to be made?

          1 Reply Last reply Reply Quote 0
          • C Offline
            chrisik
            last edited by 11 Aug 2015, 18:16

            Sorry but i can't install the plugin. After i select "install extension..." in the system preferences menu and select the plugin, a window pops up: "Unable to install this Extension. Sketchup was unable to install the Extension you have chosen for some unknown reason. Consult your Extension's documentation for additional help." ?

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 11 Aug 2015, 18:28

              @chrisik said:

              Sorry but i can't install the plugin. After i select "install extension..." in the system preferences menu and select the plugin, a window pops up: "Unable to install this Extension. Sketchup was unable to install the Extension you have chosen for some unknown reason. Consult your Extension's documentation for additional help." ?
              Which version of the RBZ are you trying to install ?
              The one one post ago ??
              Or another ???

              For me that RBZ downloads fine, and installs, and it works... 😕

              TIG

              1 Reply Last reply Reply Quote 0
              • S Offline
                slbaumgartner
                last edited by 11 Aug 2015, 18:30

                I may have botched the zip! Will look into it and get back shortly. Sorry about that...

                1 Reply Last reply Reply Quote 0
                • S Offline
                  slbaumgartner
                  last edited by 11 Aug 2015, 18:34

                  Not sure what I did wrong before, but this new one works on my system:


                  dimension_utilities.rbz

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    slbaumgartner
                    last edited by 11 Aug 2015, 18:37

                    Give the following a try and let me know if there are problems. This version combines the nested logic requested previously with this change to the default new layer naming. To avoid confusion, it appends " dims" to the name of the current scene. If there are no scenes or the current scene is not named, it will revert to the previous default of "DIM_TEXT".

                    One issue I know about is that the UI.inputbox may truncate the strings it displays - they are correct but the dialog doesn't expand to show them. This is a known bug in inputbox that I can't fix except with a rewrite to use a different input technique.

                    [edit] The rbz I uploaded earlier was somehow damaged. Please use the one in my later post.

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chrisik
                      last edited by 11 Aug 2015, 18:59

                      ok. it works. While installing the windows "Unable to install this Extension..." still pops up but the plugin works anyway. Many thanks for your changes.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tinttable
                        last edited by 3 Oct 2015, 10:40

                        I have downloaded your plugin for handling dimensions and it works beautifully. Its Exactly what I needed. Thank you very, very much!

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          tdoolittle
                          last edited by 7 Jan 2016, 00:27

                          How do I remove this extension from Sketchup2016?

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 7 Jan 2016, 15:01

                            @tdoolittle said:

                            How do I remove this extension from Sketchup2016?
                            Since it's a simple Plugin [rather than an Extension which would also have its own subfolder], you can simply find its RB file ' dimension_utilities.rb' and delete it.
                            Look in your Plugins folder...
                            This one-liner copy+pasted into the Ruby Console +<enter> will open your Plugins folder for you [it is in a folder-path that is hidden by default]:
                            UI.openURL("file:///#{Sketchup.find_support_file('Plugins')}")
                            Alternatively if you have the SketchUcation Toolset installed you can use its Plugins-Manager dialog to Disable any listed plugin-file that is being Loaded/Enabled - when SketchUp restarts it won't load, but you could always reinstate it if you so desired, OR in the same toolset - use its submenu item to 'Uninstall' that plugin in which case, thereafter it won't load or even appear in any of its Manager dialogs, but it could still be Reinstalled later, if desired - by using the same dialog...

                            TIG

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

                            Advertisement