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

    [Request] ... Open Component

    Scheduled Pinned Locked Moved Plugins
    9 Posts 4 Posters 649 Views 4 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.
    • H Offline
      haynesc
      last edited by

      hi all ...

      would it be possible for a script to do the following ...


      http://img27.imageshack.us/img27/2662/opencomponent.th.jpg

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        So this would entail copying the selected component, opening a new session of SketchUp and pasting the component there? Interesting. Would you want to be able to send the component back to the original model or update the existing instances in the original model or would that not be important?

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • Al HartA Offline
          Al Hart
          last edited by

          The quick answer is "Yes".

          If you can get the full path of the .SKP file for the component, then you can use UI.openURL() to open it in a new instance of SketchUp.

          e.g. UI.openURL('c:/docs/mattest.skp')

          Al Hart

          http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
          IRender nXt from Render Plus

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            Al, does that mean the component itself would have to be saved as a SKP file? Could it be just a component in a larger model that is saved?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • H Offline
              haynesc
              last edited by

              hi all ...

              i regularly import say "building model" into "site model" so that my models are organised ....

              what i would like to be able to do is right click on the component and click on an option such as in illustrator or indesign ... "Edit original" ...

              this would open the component in a new instance of sketchup to do edits ... then maybe when closing the model and saving changes the "building model" would update inside the "site model" ...

              perhaps a dialog pop-up to give you the option to update or not ...

              "... a linked model has saved changes, would you like to update the link?" - Yes / No

              1 Reply Last reply Reply Quote 0
              • H Offline
                haynesc
                last edited by

                ... it would be great if an option to open up a component in a new sketchup instance can be placed in the context menu

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

                  I have already written a tool to save a selection as a separate componnet...
                  http://forums.sketchucation.com/viewtopic.php?p=183756#p183756
                  [Part of a series to export_by_layer etc]
                  Saving an existing Component would be even easier...
                  You'd only need to open its file afterwards ?

                  TIG

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

                    Revisiting the initial request and thinking about it... why would you want to do this at all ?
                    Using Save_as will export the Selected Component to an external skp file.
                    If you then Open that skp and change it you will need to reload it into the original Model...

                    If 'Opening the Component in a New Window', were simply a request to Edit the Component without the rest of the Model getting in the way, then this is already built-in to SketchUp !
                    There are two most useful toggles once you've discovered them.

                    When you Edit a Component [or a Group] within the Model you can toggle two settings found under Menu > View > Component Edit > 'Hide Rest of Model', AND similarly > 'Hide Similar Components'.

                    Sometimes you want other parts of the Model to be visible even if they can't be Edited: for example, so you can snap or infer to them, but other times they are in the way and you want them to become 'invisible'. Similarly, sometimes seeing the other instances of the same component is useful as you can see the changes to the set of them as you Edit, or even snap to them, but other times they can also be in the way.

                    I have shortcut keys assigned to these two toggles and I often use them when modeling,
                    I wholeheartedly recommend them ☀

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      haynesc
                      last edited by

                      cool ... thanks didnt realise this

                      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