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

Conditional component option

Scheduled Pinned Locked Moved Dynamic Components
sketchup
5 Posts 3 Posters 1.1k 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.
  • J Offline
    JeZ
    last edited by 22 Jul 2009, 16:16

    Hi,
    Does anyone know a way to add a conditional option to a dynamic component?
    For example, is it possible to add to a table DC drawer option that triggers other drawers options?

    table component:
    -->length option = X
    -->height option = Y
    --depth option = Z
    --> add drawer option = YES/NO
    ---->(if add drawer option = YES, show new option) drawer width option = X

    I have been trying the new dynamic component feature since a couple of days, its amazing, but it would be so much more to be able to do conditional options.

    Hope someone know how to do it.

    Thanks.

    Jerome

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 23 Jul 2009, 14:40

      Hi Jerome,

      Unfortunately, I do not think you can show/hide options dynamically.

      You can attach an option to the drawer sub-component itself. The user would need to double-click the parent component and select the drawer in order to get the drawer option, but it would only be available of the drawer were not hidden.

      Hi

      1 Reply Last reply Reply Quote 0
      • J Offline
        JeZ
        last edited by 23 Jul 2009, 19:38

        Thanks Jim.
        If I find a workaround, I'll post it here.

        Jerome

        1 Reply Last reply Reply Quote 0
        • E Offline
          ericschimel
          last edited by 3 Aug 2009, 02:57

          You can have components hide conditionally based on data obtained from the DC itself. You use an "IF" statement.

          Use the scale tool to widen and shorten the cabinet I have attached. Is that what you are trying to accomplish? (In your case, you'd have a drawer hide or unhide based on size...)


          Cabinet1.skp

          -Eric
          http://plugin.sketchthis.net
          Sketchup Kitchen Design Plugin
          Custom Models

          1 Reply Last reply Reply Quote 0
          • J Offline
            JeZ
            last edited by 4 Aug 2009, 15:59

            Hi Eric,
            This is not what I "was" looking for and by was I mean that I don't think it is possible.
            I was trying to find a way to add dynamically new options in the component options panel with another option triggering it.

            Thanks anyway...

            By the way your model looks really interesting, I will look more into it later.

            the functions combo in your parent component, lenx=nearest(current("lenX"),... looks awesome!
            I still have hard time understanding the current function.

            Jerome

            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