sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6a introduces important bugfixes for Fredo's Extensions Update

    [Questions Plugins] Hide Groups / inactive components

    Scheduled Pinned Locked Moved Plugins
    16 Posts 5 Posters 1.1k Views 5 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.
    • D Offline
      DIEGO-RODRIGUEZ
      last edited by

      if tig, use this option much.
      but I meant to hide groups / components are inside the group / active component in which I work.
      the option you mentioned, it hides the remainder of model that is outside the group or active componet I'm working on

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

        @diego-rodriguez said:

        if tig, use this option much.
        But I meant to hide groups / components are inside the group / active component in which I work.
        The option you mentioned, it hides the remainder of model that is outside the group or active component I'm working on

        Understood!
        You need a hide_everything else tool.
        There are already some tools to invert the selection and then hide selected...
        You then do you edit and on completion unhide the rest ?
        πŸ˜•

        TIG

        1 Reply Last reply Reply Quote 0
        • D Offline
          DIEGO-RODRIGUEZ
          last edited by

          http://img299.imageshack.us/img299/7641/hidez.jpg

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            This is also David_H's #1 feature request, if that matters...... πŸ‘Š πŸ˜†

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

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

              I have a half-baked version that should work if the InstanceObserver wasn't [currently] broken in v8 [was OK in v6!]...
              We await an update to the Observers...

              TIG

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

                @tig said:

                I have a half-baked version that should work if the InstanceObserver wasn't [currently] broken in v8 [was OK in v6!]...
                We await an update to the Observers...

                What's broken?
                I had problems in earlier versions...

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

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

                  The onOpen() and onClose() methods don't trigger for me in v8 - try the API example.

                  TIG

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

                    They do for me - I had problems in earlier versions - at least SU7.x.
                    http://www.thomthom.net/software/sketchup/observers/

                    I do now see I noted that in SU8 there's been reports that the observer might bugsplat when closing SU - though I think there are certain conditions 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
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      I have a tool that adds an instance of the observer to every instance of every definition [it also tries to remove them first in case they already have them] - I know it's adding as it returns a message in the console as it does it.... BUT then when I open a group/instance it does NOT return a value at all! [e.g. puts instance] - this is on PC not OSX...

                      TIG

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

                        But with the bare bone example in the API - which you refereed to - does that work for you?

                        @tig said:

                        I have a tool that adds an instance of the observer to every instance of every definition

                        Would it not be easier to use the ModelObserver for this? http://code.google.com/apis/sketchup/docs/ourdoc/modelobserver.html#onActivePathChanged

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

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

                          Perhaps.
                          My InstanceObserver is only half-working - perhaps my code is flaky ?
                          Watch this space...

                          TIG

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

                            I now have it working properly - I'll post something asap...

                            TIG

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

                              Here it is http://forums.sketchucation.com/viewtopic.php?p=280618#p280618

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • david_hD Offline
                                david_h
                                last edited by

                                oh yeah baby!!! I can't wait for this one!
                                πŸ˜†

                                If I make it look easy...It is probably easy

                                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