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

    Move Roof to Top in Dynamic Components

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    3 Posts 2 Posters 1.1k 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.
    • R Offline
      ryangarnett
      last edited by

      Hi All,

      I am looking to build a building that allows a user to scale the building, specifically in the Z axis, which will move the roof component to the top of the copied floor components. I have the floor as a component, with the roof as a child component within the floor. I am getting close, but the roof floats above the floors when I scale the floor to add floors. I feel it is something really easy, assuming with the position Z, but I can't seem to figure it out.

      Any help would be appreciated.

      Thanks....


      Component Attributes


      Simple Building with Roof

      1 Reply Last reply Reply Quote 0
      • P Offline
        pcmoor
        last edited by

        Hi
        try for Roof Z

        =if(FloorPart!Copies>0,int(FloorPart!Copies)*300,0)+300

        although copies reads 0, its actual value is different, ie 2000/3000-1 = -0.333333, not 0 as shown, therefore need to make integer and protect against negative

        also make sure of the position of the roof component axis (right click to place whilst edit) to achieve desired outcome
        cheers
        Philip

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

          Thank you Phillip, I will give that a try.

          Cheers,
          Ryan

          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