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

    Wrong Parent dimensions when using the copies attribute

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    5 Posts 3 Posters 736 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.
    • B Offline
      Bearskin
      last edited by

      Hi

      I am pretty new to Sketchup, but I am really liking what you can do with DC's.

      I am currently battling with a weird issue.

      I have created two simple DC's and grouped this into a Parent DC. Now when I make copies of the DC Children with the copies attribute, I don't get the right size (LinX, LinZ or LinY)of the Parent DC. The Parent DC still displays the old size, without the copies.

      How do I get the current size of the Parent DC. I have already tried the current() function, to no avail.

      What am I getting wrong?

      Thanks
      Bearskin

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Hi Bearskin,

        Are you using Components and not Groups in your DC?

        Hi

        1 Reply Last reply Reply Quote 0
        • blruuskaB Offline
          blruuska
          last edited by

          Bearskin,

          Have you tried configuring your sizing formulas in the children to reference dimensions of the parent?

          Reference: http://sketchucation.com/forums/viewtopic.php?f=289&t=35214

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bearskin
            last edited by

            Hi Jim,

            Yes I am using components.... but I just did the same experiment with groups and the result is the same.

            This time I created two groups (renamed them Box1 & Box2) and made these two groups into a component (Boxes). Then I used the copies attribute e.g. in Box1 I made copies=3 and X=COPY*20.

            Although the Parent Boxes has become visually bigger (I also measured) the size is not mirrored in the attribute data window. The size of boxes is unchanged. And once you start scalling you get all weird sizes.

            Bearskin

            1 Reply Last reply Reply Quote 0
            • B Offline
              Bearskin
              last edited by

              blruuska,

              Like I wrote Jim. I want to make copies within the parent component and I would like to have the true size of the parent so that I can reference other groups/components to e.g. Parent!LenX. Put currently if I make copies I see that the components is different in size but this is not reflected in Parent!LenX. The size stays the same and once I start scalling it is all over the place.

              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