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

Need Help: DC constrain min/max scaling size

Scheduled Pinned Locked Moved Dynamic Components
sketchup
5 Posts 3 Posters 1.6k Views
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.
  • D Offline
    derei
    last edited by derei 1 Feb 2014, 14:57

    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
    • D Offline
      danielbowring
      last edited by 3 Feb 2014, 07:21

      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 3 Feb 2014, 07:25

        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
        • D Offline
          derei
          last edited by 3 Feb 2014, 09:21

          @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 3 Feb 2014, 09:54

            No worries....


            SU8

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              2/5
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement