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

    DC component structure

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    4 Posts 2 Posters 1.2k Views 2 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.
    • Epix3DE Offline
      Epix3D
      last edited by

      I have made this table consisting of two main parts which is the basic frame and the tabletop.
      How can I make an relation between the upper frame which is dynamic adjustable and the tabletop without putting the tabletop inside the basic frame component?
      The tabletop should follow the height adjustment of the frame but still as separated components as they are parts of a assembly with individual part names and Item numbers.
      What I am trying is to make a component of the complete table 200 new name/part number consisting the two other components inside.
      I also wonder if it is possible to make the crank rotate as the table elevates up/down?

      http://www.epix.no/uploads/Dynamic Components/Table200.jpg

      Table model
      http://www.epix.no/uploads/Dynamic%20Components/Table_200_Combination1_With_Crank.skp

      1 Reply Last reply Reply Quote 0
      • Epix3DE Offline
        Epix3D
        last edited by

        Still need help with this one. Please!!

        @unknownuser said:

        I have made this table consisting of two main parts which is the basic frame and the tabletop.
        How can I make an relation between the upper frame which is dynamic adjustable and the tabletop without putting the tabletop inside the basic frame component?
        The tabletop should follow the height adjustment of the frame but still as separated components as they are parts of a assembly with individual part names and Item numbers.
        What I am trying is to make a component of the complete table 200 new name/part number consisting the two other components inside.
        I also wonder if it is possible to make the crank rotate as the table elevates up/down?

        http://www.epix.no/uploads/Dynamic Components/Table200.jpg

        Table model
        http://www.epix.no/uploads/Dynamic%20Components/Table_200_Combination1_With_Crank.skp

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

          You will have better luck working outside-in, or top-down.

          Put the onClick animation at the highest logical level, and pass the animation attribute down to any components that need it.

          Attributes can only be "seen" by direct parents or children, so if you have more levels of components that need access to the animation attribute, you need to reference the attribute at each level.

          ` Top-Level Component

          • OnClick(animate("anim", 0, 100)
          • anim: 0

          Child-Component

          • anim: =Parent!anim

          Child-of-Child-Component

          • anim: =Parent!anim`

          Open the file, do not import.

          Hi

          1 Reply Last reply Reply Quote 0
          • Epix3DE Offline
            Epix3D
            last edited by

            Hi Jim,

            Thank you for a very nice Christmas gift!
            Been struggeling with this for a while now. ..I was close but missed on this part; =Parent!HevSenk+67.64

            Thank you again and have a Merry Christmas to you and your family.

            Merry Christmas also to all followers in this thread!!

            @jim said:

            You will have better luck working outside-in, or top-down.

            Put the onClick animation at the highest logical level, and pass the animation attribute down to any components that need it.

            Attributes can only be "seen" by direct parents or children, so if you have more levels of components that need access to the animation attribute, you need to reference the attribute at each level.

            ` Top-Level Component

            • OnClick(animate("anim", 0, 100)
            • anim: 0

            Child-Component

            • anim: =Parent!anim

            Child-of-Child-Component

            • anim: =Parent!anim`
            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