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

    Type & Instance properties in DC

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    5 Posts 3 Posters 534 Views 3 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.
    • S Offline
      spramanik
      last edited by

      Hello,

      Is it possible to set type and instance properties in a single dc? ❓
      To clarify, when we make a copy of a dc and then change properties of the copied one,
      change in instance properties will effect the copied component and the change in
      type properties will effect all components under the same name.

      Any help would be greatly appreciated.

      Thanx

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

        You need to use 'make_unique' on the DC and all of its sub-DCs [if any]... so it then becomes a completely separate version. Making it unique at only the top level will not separate the innards [if any], and these can then also change in the previous version, although the outermost DC is by then a 'different definition'...

        TIG

        1 Reply Last reply Reply Quote 0
        • S Offline
          spramanik
          last edited by

          Hi TIG,

          I don't want to make different component definition.
          I want different type of properties in same DCs.

          Suppose in a window DC I have set Height as 'type property' and
          width as 'instance property'. I have copied this DC at 4 places.

          Now what I want is -
          Selecting a single window if I change the height, all four window height will be changed automatically and if I change width then only the window that is selected will change its width.

          Thanx

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

            I see what you mean [now]...
            It might be possible with nested DCs [the outer container DC affects the width, but the inner one on an edit affects the height in all instances - thereby making some things global and some instance specific?]... but remember that every new instance placed of a DC is unique by default it's only if you copy ones that already exist you get duplicated versions...

            TIG

            1 Reply Last reply Reply Quote 0
            • AnssiA Offline
              Anssi
              last edited by

              I am afraid that it is not possible. Every time you make a copy of a DC and alter its attributes, the Component browser acquires a new component definition. Only exact copies of a DC remain under the same definition. Selecting a bunch and applying the same change to all of them creates a new definition for every single member of the bunch, so the only way to keep the bloat in check is to apply changes to only one instance, and then to make copies of that.

              Anssi

              securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

              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