• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Xref Manager v5.0

Scheduled Pinned Locked Moved Plugins
35 Posts 15 Posters 22.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.
  • T Offline
    TIG Moderator
    last edited by TIG 5 Mar 2008, 22:12

    Following a request I have corrected a hitherto unreported glitch in XrefManager.rb Make_Xref method... and so here's v5.0.

    The v6 new Import methods could also mean that in the future importing DWG/DXFs is easier, more reliable and works on Macs - BUT that's NOT in this release - watch this space... PayPalButton

    [Discussion]


    Version 5.0

    TIG

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mike Lucey
      last edited by 5 Mar 2008, 23:51

      Thanks TIG, I'II be watching this space for the Mac version.

      Mike

      PS: I like the Avatar!

      Support us so we can support you! Upgrade to Premium Membership!

      1 Reply Last reply Reply Quote 0
      • D Offline
        dtrarch
        last edited by 7 Mar 2008, 01:41

        Hi TIG

        Thanks again for another super script.
        FYI I got error message using this download, but the 5-6 version on Didier's site works perfectly.
        (latest version of GSU Pro 6)

        Also seems more logical to me to have it show up in the [File] menu and easy to change if needed.

        The [Plugin] spot gets Plugged up in hurry for we collectors.

        Regards

        dtr

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 7 Mar 2008, 08:10

          @dtrarch said:

          Hi TIG

          Thanks again for another super script.
          FYI I got error message using this download, but the 5-6 version on Didier's site works perfectly.
          (latest version of GSU Pro 6)

          Also seems more logical to me to have it show up in the [File] menu and easy to change if needed...
          dtr

          1. What 'error' exactly - please give more details or else I shall never be able to fix it ! press PrtScrn+Alt to capture error-message window, paste into something... then post here...

          2. It's easy for you to move the Menu item. Edit it in Notepad.exe. Look near the end and replace any "Plugins" with "File" or "Tool" etc...

          TIG

          1 Reply Last reply Reply Quote 0
          • A Offline
            archtrot
            last edited by 7 Mar 2008, 13:56

            TIG,

            This is the error message that I get.


            SP32-20080307-090033.jpg

            1 Reply Last reply Reply Quote 0
            • D Offline
              dtrarch
              last edited by 7 Mar 2008, 15:53

              TIG

              I got the same message using the download posted here.

              I had already moved the menu and just thought that the file location worked a little better as a suggestion.

              dtr

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 7 Mar 2008, 16:38

                Following a request I have corrected a hitherto unreported glitch in XrefManager.rb Make_Xref method... and so here's v4.0:

                301 Moved Permanently

                favicon

                (www.sketchucation.com)

                The v6 new Import methods could also mean that in the future importing DWG/DXFs is easier, more reliable and works on Macs - BUT that's NOT in this release - watch this space...

                .

                TIG

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cdubea
                  last edited by 18 Mar 2008, 18:54

                  This is an awesome add-in!

                  It allows me to work with Sketchup in a way which is similar to the way SolidWorks manages files.

                  Thanks!

                  Can I ask an ENORMOUS favor? Can your menus be included in the right mouse button menus?

                  That would be a tremendous "click" saver.

                  Thanks again,

                  chris

                  http://www.dubea.org/chris_small.jpg

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cdubea
                    last edited by 24 Mar 2008, 16:21

                    TIG,

                    I've been using the Xref Manager and it works well on small models. Larger models with more than one 'assembly' cause it to lock up when refreshing.

                    Please see the attached file

                    thanks for looking at this,

                    chris


                    Folding Workbench.zip

                    http://www.dubea.org/chris_small.jpg

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 24 Mar 2008, 17:20

                      Fixed with v5.1 - sorry for the stupid glitch...

                      301 Moved Permanently

                      favicon

                      (www.sketchucation.com)

                      ...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 24 Mar 2008, 17:28

                        Unfortunately the xrefs are specific to your folder structure and report as 'unpathed' on mine !

                        You certainly have a lot of xrefs ! Surely a lot of your components are particular to that model and aren't used in other models so there is no advantage in having them 'external' ?

                        If you find that you need a compo for another assembly then save_as it then...

                        I recommend that you only use a handful of external 'xref' compos. For example you are making a housing estate... the model is the site and xrefs of each house type are use. IF they change then you can update the model to suit. It was never intended for you to split all of your model's compos to outside. Only externalise those things that are to be reused elsewhere and if they change need to be update-able...

                        .

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          cdubea
                          last edited by 24 Mar 2008, 19:02

                          The problem seems to stem from files made up of components which themselves are made up of components.

                          The file Folding Workbench file consists of 3 components each of which is made up of multiple components. If your process limited itself to the components actually in the file it would probably be okay. I played around in the manager and if I only allowed the components in the Folding Workbench file to refresh all was well.

                          Your tool allows me to work with files in the same manner I do in the other modeler I use, which is SolidWorks. Splitting files into multiple components allows me to dimension the components in a logical manner (at least for me) without using multiple scenes and such.

                          Thanks for looking at this. All the components are in the parent folder of the main file. This should make it easy to reconnect if you want to test your code on it.

                          Chris

                          http://www.dubea.org/chris_small.jpg

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Fletch
                            last edited by 26 Mar 2008, 14:58

                            @cdubea said:

                            Can I ask an ENORMOUS favor? Can your menus be included in the right mouse button menus?

                            @Chris and TIG - PLEASE, TIG, NO! My R-Click menu is already WAYYY too long as it is.

                            Chris, simply set up a shortcut button to the xref options, Try 'x' if you didn't assign that to 'explode' already... No more stuff in our menus that isn't absolutely necessary, please!

                            That said,

                            Thanks for this, TIG! I have finally found the time/necessity to experiment with this thing. Seems ok so far with small stuff. I'm wondering if you have a tutorial explaining how it all works, as I'm a bit confused (I've been using AutoCAD for years and years, and am one of the office's 'CADMasters' (their word, not mine)... so I know xref-ing very well.

                            1. I need to know: I know I can choose to DELETE the xref in the xref manage... but I want to unload it, that is, I want to keep the info and path to the xref inside the SU model without completely deleting it. How do I 'unload' the file, so that my model is much smaller, but then I can reload the file quickly again to see the xref again next time I open my model to work. (I'm doing a hospital addition, I have a huge hospital/site/context model I want to xref into my 'addition building' model... I want the 'addition' model to stay 'small' in size... so I want to be able to quickly unload the context model, and reload it at will)

                            2. What is the advantage to/workflow suggestion of converting components to xrefs? Though I convert them to become xrefs, aren't they still making my file bigger? (hence why one may want an 'unload' option)

                            3. Is there a way we could have an option kind of like ACAD where you can define the automatic insertion point of the xref to be the origin of the current model? This is important because sometimes the origin is difficult to snap to, buried deep inside/under other geometry in your model, and you just want your context model to pop in with the same 0,0 origin.

                            TIG, one last thing... it would be really cool if you could tell me how I can move the xref manager to the Tools pulldown, as my plugins menu already drops down past the bottom of my screen... but I have lots of room under the tools menu... and I think of this as a great 'tool'. 😉

                            ps - if you get 'unload' working... then one more function would be very cool... 'unload all xrefs' and 'reload all xrefs'... these could then be a shortcut key and life is beautiful. ☀

                            Fletch
                            Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              Fletch
                              last edited by 26 Mar 2008, 18:52

                              "win32ole.so"
                              what the heck is that?! I tried to xref in a .dwg and it says
                              "This requires 'win32ole.so' to be in the Plugins folder! Exiting..."

                              any help?!

                              Fletch
                              Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 27 Mar 2008, 17:05

                                @fletch said:

                                "win32ole.so"
                                what the heck is that?! I tried to xref in a .dwg and it says
                                "This requires 'win32ole.so' to be in the Plugins folder! Exiting..."

                                any help?!

                                If you got an earlier version of XrefManager it was in the zip file. It's a Windows only extension that 'scripts' keyboard actions into events in the script - e.g. open the dialog then press the down-arrow key 4 times, then TAB, then type "xxxxx", then hit <enter>. It's fairly crude but lets you access some functions that aren't accessible through Ruby...Here it is... Unzip it... Add it to Plugins

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  Fletch
                                  last edited by 27 Mar 2008, 18:37

                                  muchas gracias, amigo! 😉

                                  Fletch
                                  Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    cdubea
                                    last edited by 1 Apr 2008, 11:55

                                    TIG,

                                    Any chance of getting the Xref Manager tweaked to show only the top level components in the Xref Manager dialog bog?

                                    Thanks,

                                    chris

                                    http://www.dubea.org/chris_small.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      cdubea
                                      last edited by 21 May 2008, 17:35

                                      @cdubea said:

                                      TIG,

                                      Any chance of getting the Xref Manager tweaked to show only the top level components in the Xref Manager dialog bog?

                                      Thanks,

                                      chris

                                      Due to multiple issues, I've gotten to the point where this tool is no longer useful to me.

                                      These are (in no particular order)

                                      1. Inability to effectively deal with multiply nested parts. This is due to the fact that ALL xref'd components of ALL components are listed in the manager. This causes multiple rebuilding to be required and WILL go into an infinite loop requiring Sketchup to be shut down.

                                      2. Issues with sub component names not being updated. A part that I renamed the components did not update properly. Some component names changed, some didn't.

                                      3. Had issues with component names have #1... being added to them.

                                      Any chance of getting some of these things rectified?

                                      Please?

                                      chris

                                      http://www.dubea.org/chris_small.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        dammerel
                                        last edited by 31 May 2008, 11:41

                                        i get this error

                                        Error Loading File XrefManager.rb
                                        undefined method `add_submenu' for nil:NilClass

                                        Andrew

                                        1 Reply Last reply Reply Quote 0
                                        • plot-parisP Offline
                                          plot-paris
                                          last edited by 1 Jun 2008, 17:00

                                          same error message for me...

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

                                          Advertisement