Possibly this question was already asked but I found only one topic and it was not clear (risolutive) to me, even because English is not my language.
I made a glass wall DC made by a number of submodules. I want the user, which is me, to select the total wall width, with a varying number of subs, or to select a module width and the number of modules, with a varying wall width.
The DC is working fine, but it is confusing to see the unuseful options in the window.
I have a ‘master’ option (‘Type of wall’) to select which of the two path to follow and I’d like to hide what is not required. I.e.: if I select to use the total wall width, 2 options (module width and modules number) should be hidden; otherwise, selecting the submodules type, I should show those 2 and hide the total width voice.
I saw with some plugins that the creators did that; I wonder if this is done with pure Ruby or there are other solutions.
You can set the hidden " _attributes" via “onclick”, so a solution would be to choose the wall type and expose or hide the options
Use set(“_attName_choose_access”, “TEXTBOX”, “NONE”) where attName is the name of the attribute, keeping the underscore.
you probably have CHOOSE and IF statements to sort this to your requirements, can you upload your DC?
The other two options for _choose_access are VIEW and LIST
1 Like
Hi and thanks.
Unfortunately I was ill since some time. As soon as I recover I’ll give a try.