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

    How to hide components from teh Components Manger?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    14 Posts 6 Posters 966 Views 6 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.
    • thomthomT Offline
      thomthom
      last edited by

      No, the expand button let you see the hidden components.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • Alan FraserA Offline
        Alan Fraser
        last edited by

        I'm wondering if this is new behaviour. It's certainly the case that if you Import a skp rather than opening it, you only see the top level component, not all the sub-components.
        But I was kind of under the impression that's what happened anyway when actually constructing them...that if they were bundled-up into a higher level component, all the constituent parts disappeared. Maybe my memory is going.

        3D Figures
        Were you required to walk 500 miles? Were you advised to walk 500 more?
        You could be entitled to compensation. Call the Pro Claimers now!

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          Yes but it only seems to work with imported geometry not native (i.e. made) within your model.

          Gai...

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            Maybe the component has to be created while inside the top component..?

            I'll have a go and see what happens if I export an component and then import it. (this would still not be ideal as it makes for an awkward workflow...)

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              Just did a quick test:

              Imported components will hide their sub-components.

              Creating a new component while within an existing component will not hide it.

              I wonder... maybe a ruby script can access the properties that controls this..?

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • GaieusG Offline
                Gaieus
                last edited by

                True it would be more handy if SU in this case worked more consistently. I also tend to create extremely compound models from tiny bits of components and this would allow me to browse the browser ( 😒 ) more efficiently.

                Gai...

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  Just came across this:

                  @unknownuser said:

                  Hi,

                  In the Ruby API docs, there is this ``hidden?'' method for components:

                  hidden?
                  
                  The hidden method is used to determine if this component definition should be hidden on the component browser.
                  

                  Is there a way to tell SU that a component is not to be shown in the browser?

                  http://groups.google.com/group/Ruby-API/browse_thread/thread/7fcd81914105b343/63f779a37291dbb7?lnk=gst&q=components#63f779a37291dbb7

                  So it looks like a ruby script might be possible.

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • GaieusG Offline
                    Gaieus
                    last edited by

                    Let's hope some of the ruby gurus chime in...

                    Gai...

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

                      To fix it manually you can Save_As the nested component [made of sub-components] 'externally' (you just hover over its icon the the compo'browser and select off the context-menu...). Then erase any instances of it and purge the model of unused compos. It and it's sub-compos will purge if they haven't got instances. Then import the externally saved comp back in and now you have one compo that's made from several nested compos BUT only one compo shows in the browser !

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        The problem is that doesn't work well with my workflow. I'm using V-Ray for SU and when you import components it won't import the V-Ray materials.

                        If I get time over the weekend I'll see if I can learn enough Ruby to make a script for this.

                        Thomas Thomassen — SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

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

                        Advertisement