Conditional component option
-
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 = XI 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
-
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.
-
Thanks Jim.
If I find a workaround, I'll post it here.Jerome
-
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...)
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement