• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Scale AND keyed in values for component size

Scheduled Pinned Locked Moved Dynamic Components
sketchup
8 Posts 4 Posters 1.1k Views 4 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.
  • E Offline
    eselick
    last edited by 20 Feb 2013, 00:15

    Hi

    If I leave the lenX and lenZ of my DC unconstrained, the user can scale on those axes. However, I would also like to have input fields so that the user has the choice of keying in these values. Once these are added scaling is no longer possible.

    Is there anyways to let Sketchup know it should ignore the input fields when the user tries to scale my component or by using another logical field in the options dialog?

    Thanks

    1 Reply Last reply Reply Quote 0
    • E Offline
      eselick
      last edited by 20 Feb 2013, 12:39

      Hi
      I found this post which gave me the answer:
      http://sketchucation.com/forums/viewtopic.php?f=289&t=47048&p=420570&hilit=current&sid=b0e2d1b9d1664ad9915628072fb5a35d#p420570

      Thanks for the forum.

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 21 Feb 2013, 18:21

        There is no way to do it that I know of. You must chose either scaling or dialog input, but not both.

        Hi

        1 Reply Last reply Reply Quote 0
        • E Offline
          eselick
          last edited by 21 Feb 2013, 23:11

          Hi Jim
          I have been able to get it to work by giving the user a choice in the DC options dialog:

          The image shows the scale or dimension pulldown.

          I use the following formula for lenZ and the same kind of thing for lenX:

          =if(ScaleOrDimensions="SCALE",current("lenZ"),OpeningHeight+SillHeight+Width)

          I did get happily carried away with the project the goal of which was to create a customizable window trim component that could be used be used to decorate the many existing dynamic window components.

          I'll upload this to the warehouse in a bit, but I'm attaching it here. If you'd like to have a look and hopefully make any comments that might help improve it I'd appreciate it.

          Thanks
          Elliot


          Trim V4 Working.skp

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by 1 Mar 2013, 00:01

            Not bad! 👍

            Hi

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by 1 Mar 2013, 00:51

              hi
              very nice,
              question: why have scale along green if it does nothing?
              john

              learn from the mistakes of others, you may not live long enough to make them all yourself...

              1 Reply Last reply Reply Quote 0
              • E Offline
                eselick
                last edited by 1 Mar 2013, 15:07

                Thanks jim and driven - I've removed the ability to scale on the green axis 😄

                1 Reply Last reply Reply Quote 0
                • T Offline
                  Trogluddite
                  last edited by 1 Mar 2013, 15:56

                  Ah, allowing the user a choice per component - that's very neat, thankyou.

                  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