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

    Reloading component - looses all attributes

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    10 Posts 5 Posters 1.4k 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
      duke
      last edited by

      What seems to be the case is that once you load a DC in and change any components or stretch it, etc., it makes it a new/unique component. I made a few additions to a component a moment ago which theoretically shouldn't affect anything (it didn't take away or alter an existing functions), however if I try to right click->reload that component in my other scene, it tells me i've made changes and am I sure I want to replace it! I say yes, and it resets it to its default scale/attributes.

      Is there a way around this?

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

        I'm not quite following. Clarify this:

        "however if I try to right click->reload that component in my other scene, it tells me i've made changes and am I sure I want to replace it! I say yes, and it resets it to its default scale/attributes."

        Reloading it in another scene? or do you mean file? And which resets tot he default? The one that got placed in? The other one?

        Maybe just some simple direct steps that recreate the problem, thanks!

        Chris

        btw, did the answer in the other thread help?

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

        1 Reply Last reply Reply Quote 0
        • D Offline
          duke
          last edited by

          I think it's just me misunderstanding SU. Only started using it 2 days ago πŸ˜› I have a master file for my component that I work on and then save that component out every now and then, thinking other scenes can just reference that file, but it looks like it doesn't reference it, it just merges it in.

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

            Ahh, yes su does not reference like that. If you include a component in a file, it is embeded as is. So if you alter the original, it will not get altered in the other file until you reload it. Good luck with SU,

            Chris

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

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

              @duke said:

              Well I tell you what would be useful - a script called "Reload&Retain" or something, where it replaces the existing component with the one you pick, BUT it keeps the scale (already keeps rot, pos), as well as an attribute values.

              that would be a nice plugin...
              I second this suggestion.

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

              1 Reply Last reply Reply Quote 0
              • D Offline
                duke
                last edited by

                Well I tell you what would be useful - a script called "Reload&Retain" or something, where it replaces the existing component with the one you pick, BUT it keeps the scale (already keeps rot, pos), as well as all attribute values.

                1 Reply Last reply Reply Quote 0
                • plot-parisP Offline
                  plot-paris
                  last edited by

                  isn't that what the XRef-Manager plugin does? created by TIG

                  if you want it to, it checks your models at every startup and automatically updates all the referenced components. the only thing that is not possible (because SketchUp simply doesn't allow it), is to actually save the component externally (meaning, that if I place a component as reference in the model, only the position, rotation and scale is saved in the parent-file, but not the geometry itself).

                  [Edit] Wow! that was my 1111th post!!! 😍

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

                    @plot-paris said:

                    isn't that what the XRef-Manager plugin does? created by TIG

                    if you want it to, it checks your models at every startup and automatically updates all the referenced components. the only thing that is not possible (because SketchUp simply doesn't allow it), is to actually save the component externally (meaning, that if I place a component as reference in the model, only the position, rotation and scale is saved in the parent-file, but not the geometry itself).

                    [Edit] Wow! that was my 1111th post!!! 😍

                    Does it save the attributes that DC's uses? That's the key here.

                    Also, as of SU7 you can now save components to file. πŸ˜‰

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

                    1 Reply Last reply Reply Quote 0
                    • plot-parisP Offline
                      plot-paris
                      last edited by

                      well, 'saving as' and 'reloading' a DC works for me. attributes are still there. and I guess what xRef manager does is the same. so it should be working (just a guess though. don't use xRef myself and can't test it right now).

                      by the way, wasn't it possible to to save a component (by context click > save as) in SU6? πŸ˜•

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

                        @plot-paris said:

                        by the way, wasn't it possible to to save a component (by context click > save as) in SU6? πŸ˜•

                        Indeed it was (or actually still is)

                        Gai...

                        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