sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Need Help: DC constrain min/max scaling size

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    5 Posts 3 Posters 1.6k 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.
    • dereiD Offline
      derei
      last edited by derei

      I want to scale a DC within two limits (min:5cm / max:500cm), but I can't figure how to constrain to both.
      To constrain for one of them I can use "if" condition, but I have no idea how to use for both ends constraining.

      Thanks.

      EDIT
      Thanks Box for pointing out the error in this post, I corrected it now. It was meant to be 5CM (but I am sure you figured it out, even if it was wrong).
      Would you be so kind to offer a solution for my problem, now? πŸ’š

      DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

      1 Reply Last reply Reply Quote 0
      • danielbowringD Offline
        danielbowring
        last edited by

        If you want to avoid if statements, you can use SMALLEST and LARGEST like so

        =SMALLEST(MAX_VALUE, LARGEST(MIN_VALUE, value))
        
        1 Reply Last reply Reply Quote 0
        • P Offline
          pcmoor
          last edited by

          Hi

          using the conditional statement is correct,(<5) then smallest (current & 50)
          note for metric you have to use 2.54 as a conversion from inches to cm when getting or using the current value

          example attached
          Philip


          5min.skp

          1 Reply Last reply Reply Quote 0
          • dereiD Offline
            derei
            last edited by

            @pcmoor said:

            Hi

            example attached
            Philip

            Please for SU8, thank you!

            DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

              No worries....


              SU8

              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