• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Xref Manager

Scheduled Pinned Locked Moved Plugins
97 Posts 43 Posters 80.0k 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.
  • C Offline
    cobb89
    last edited by 10 Apr 2011, 06:41

    will using xrefs for my model actually make it lighter...for example if I have

    a 14 MB model

    a 12 mb model of a building block

    If I copy paste the latter one in 14 mb one..the filesize may become...26MB
    will using an xref of the 12 mb one into 14 mb make the file size 18 mb or so??

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 10 Apr 2011, 11:18

      Xrefs in SKPs are NOT like Xrefs in DWGs.
      They are full inserted copies that simply know what the external SKP it came from is and if it's been updated suggested you reload it... Therefore adding SKPs into a SKP [Xref'd or not] will increase the file size.
      It not possible to do it in the DWG manner where the Xref is a true 'eXternal-REFerence' and the host DWG is barely affected by having it inserted...

      TIG

      1 Reply Last reply Reply Quote 0
      • C Offline
        cobb89
        last edited by 10 Apr 2011, 11:21

        @tig said:

        Xrefs in SKPs are NOT like Xrefs in DWGs.
        They are full inserted copies that simply know what the external SKP it came from is and if it's been updated suggested you reload it... Therefore adding SKPs into a SKP [Xref'd or not] will increase the file size.
        It not possible to do it in the DWG manner where the Xref is a true 'eXternal-REFerence' and the host DWG is barely affected by having it inserted...

        so...what's the best way to keep my model lighter, apart from working in groups and layers?? ❓

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 10 Apr 2011, 11:55

          Using Groups and Layers won't make your SKP any 'smaller' BUT they will help you model more fluidly and also allow you to 'switch things off' thereby making it easier to navigate around your model as the 'clutter' is reduced.
          Using Components for repeated elements will reduce the SKP's file size, because once the definition is made each instance of it you place in the SKP adds a small amount to the SKP's size.
          Adding large textures to materials or large Images will inevitably increase the SKP's size and slow down navigation.
          Adding lots of polygons [edges with faces] will also inflate the SKP - Modeling a detailed tree with every twig and leaf will probably double the SKP's size in one step! Also never model parts you won't see [like the insides of objects] because they all add the the SKP's size AND need 'calculating' as you orbit etc...
          Model with Fancy Edge Styles, Fog, Shadows and Textures etc all switched 'OFF' - then use suitable preset Scene tabs to flip between the different modes as needed - you only need all of the bells-and-whistles 'ON' on when you are done and rendering [or adjusting texture UV mapping etc].
          Your SKP will be slowed to a crawl if you have lots of polygons casting shadows on each other and with textures 'on' etc - Sketchup has to work so much harder to decide how to display shadows etc...

          TIG

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gaieus
            last edited by 10 Apr 2011, 12:02

            There are plugins however that can help you have your rather complex model more navigable. Have a look at Ghost Components for instance:
            http://forums.sketchucation.com/viewtopic.php?t=21469

            (Now the best would of course be if you could keep these components as ghosts all the time and they would still display their "real" complexity when making image or animation export or even for render engines...)

            Gai...

            1 Reply Last reply Reply Quote 0
            • C Offline
              cobb89
              last edited by 10 Apr 2011, 12:10

              isn't there a better way than ghost comp? because i'm working on a housing projects and it has lot of housing units. [varying from 16 to 20 storeys high]..the site is huge, and I want to work on the site model. I was going to the site model with the xrefs of each type of units [located as separate files for each of the towers.]. I can't seem to find a good way πŸ˜’

              1 Reply Last reply Reply Quote 0
              • H Offline
                Howard leslie
                last edited by 26 Jan 2012, 10:59

                TIG,
                I'm not sure if anyone has noticed or mentioned this before with regard to your XRef plugin........
                .........
                If I update a model that has Xrefs linked to it (ie if one of the Xrefs has changed and the parent model asks if I want to update model), when I update the model, the scene always changes to the shaded with textures style.
                Typically, I tend to use the flat (shaded) style on all my styles.
                ..........
                Might be worth looking into next time you are working on Xref plugin.
                (Brilliant plugin by the way)
                ...........
                Regards
                Howard L'

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jrp_DK
                  last edited by 31 Jul 2012, 09:23

                  Super tool. πŸ‘ I can use this for my large assembly drawings.
                  Would it be possible to have a toolbar too, that is more handy than to open the plugins folder.

                  It works fine in my SU pro 8, it just need the Win32ole.so in the SU plugin lib. I use it with Fredo6 Additional plugin folders.

                  Thanks'

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

                    This tool is now very 'old in the tooth' and it needs a major revamp.
                    For example, lot of its 'ole work can now be done using built-in importers etc...
                    A toolbar and webdialog interfaces would also be on the agenda...
                    It is on the list of things to do BUT it's near the bottom of a long list !
                    πŸ˜’

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      davecoopstl
                      last edited by 1 Aug 2012, 13:48

                      TIG,

                      I agree with you. This tool would benifit from an update. We use it EVERY day, to assemble and manage large models. It's really useful for that purpose.

                      Any updates you make, when you actually have time to make them, would be greatly appreciated.

                      Thanks for all your scripting work!
                      Dave.

                      1 Reply Last reply Reply Quote 0
                      • Bob JamesB Offline
                        Bob James
                        last edited by 1 Aug 2012, 16:28

                        I missed out on the original post for this plugin that describes what it does. Can you repost the description?

                        i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 1 Aug 2012, 21:34

                          My 'Xref Manager' allows you to link external SKPs [and DWG/DWG [at the moment for PC only]] into a 'master' SKP model.
                          Of course you can already do that but inserting 'component' SKPs, but there is no 'reminder'...
                          With the tool you can then automatically check if an external 'xref' file has be changed since it was last loaded in this Model and then choose to reload it.
                          The dialog list all such files... a new web-dialog would improve this a lot !
                          Currently [on PC only] you can also set an option to auto-check the xrefs' 'currency' as the master-SKP opens.
                          There are other tools to make a component into an 'xref', bind them in so they are no longer 'linked' externally, and so on...
                          It's somewhat like AutoCAD's Xref-tools... but unfortunately the inserted files are 'full' versions... not 'place-holders'- as this isn't supported in the SKP format...

                          It's long overdue an up date... "watch this space"... but don't wait up πŸ˜‰

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • Bob JamesB Offline
                            Bob James
                            last edited by 2 Aug 2012, 06:26

                            This has great potential for the kind of work I do: A main standard set of components with added customer-peculiar components. It should be very useful to assure, for the next set of customer-peculiar components, that the standard set is up to date.
                            So...I'll be watching with interest πŸ˜„

                            i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              ravinhuxley
                              last edited by 7 Sept 2012, 05:53

                              I am having problems importing DWGs for xref purposes with TIGs XREF Manager. When I import the drawing, I get the error shown below. This happens on two machines, both running the same setup.

                              xref.jpg

                              What is odd is the -++ at the end of the .dwg extension. Its almost if the script is adding additional characters to the file path.

                              Using Sketchup 8.0.15158
                              Windows 7 Home Premium
                              Importing 2004 DWG

                              Ruby console reports:
                              Error: #<NoMethodError: undefined method definition' for nil:NilClass> C:/PROGRA~2/Google/GOOGLE~1/Plugins/XrefManager.rb:566:in add_dwg_attrib'
                              C:/PROGRA~2/Google/GOOGLE~1/Plugins/XrefManager.rb:542:in add_dwg' C:/PROGRA~2/Google/GOOGLE~1/Plugins/XrefManager.rb:566:in call'
                              C:/PROGRA~2/Google/GOOGLE~1/Plugins/XrefManager.rb:566

                              Any suggestions?

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

                                I've moved this recent post into the tool's main thread, where it belongs.
                                The final errors appear because the DWG isn't auto-loaded and so it has no definition to use when it tries to add 'xref' attributes to it.

                                The file-name/path getting '-++' added onto the end is clearly what's breaking it.
                                The tool uses +/- key presses to navigate the dialog [this will be avoided in a future version...]
                                The -++ pattern shows that you have 'chosen' options:
                                No to merge
                                Yes to orient
                                Yes to use origin [this is fixed 'on']

                                Because you obscured the earlier path it's unclear... does the path look right otherwise -e.g. does it have a drive letter like 'C:...' ?
                                Is suspect that something is happening with the 'key-stroke' mimicker... I find that I can break it so the drive letter is missed off ! Then it reports the file can't be found and the thing fails as the keys then write in the file-name panel incorrectly...

                                This tool needs a major overhaul - it's two versions [or more] behind...
                                I'll look at replacing parts of the code that need key-stroke mimicking [as an interim fix] and get back to you soonest... πŸ˜•

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 7 Sept 2012, 13:32

                                  Here's v6.0 http://forums.sketchucation.com/viewtopic.php?p=46367#p46367
                                  It's not the full update that is still in the very long pipe-line [web-dialogs etc], but it is issued to address reported problems with using PC DWG/DXF xrefs... AND now it allows these on MAC too... πŸ˜„

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • ElibjrE Offline
                                    Elibjr
                                    last edited by 11 Sept 2012, 23:01

                                    @tig said:

                                    Here's v6.0 http://forums.sketchucation.com/viewtopic.php?p=46367#p46367
                                    It's not the full update that is still in the very long pipe-line [web-dialogs etc], but it is issued to address reported problems with using PC DWG/DXF xrefs... AND now it allows these on MAC too... πŸ˜„

                                    Wow! Thank you TIG! You are awesome! I will try this later! Thanks !!!

                                    1 Reply Last reply Reply Quote 0
                                    • EarthMoverE Offline
                                      EarthMover
                                      last edited by 12 Sept 2012, 01:40

                                      πŸ‘ Thanks TIG! Not sure how I missed this. Really could've used this on my latest project. Can't wait for the revamp.

                                      3D Artist at Clearstory 3D Imaging
                                      Guide Tool at Winning With Sketchup
                                      Content Creator at Skapeup

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        ravinhuxley
                                        last edited by 3 Oct 2012, 20:50

                                        TIG-

                                        I neglected to come back and let you know that you are awesome. Thanks for the updated plugin!

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Mohsin_Mazhar
                                          last edited by 12 Dec 2012, 09:14

                                          Can any one please tell me about how to install it in google sketchup 8 pro? I have copied the XrefManager.rb to my google sketchup plugin folder. But i am unable so see Xref tools while i open my plugin menu in Google Sketchup.

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

                                          Advertisement