I want simply to have a slider that can change the design options - I’m using archi-lab’s “Get Design Options”. That feels like super basic and there have been several posts on that, but I couldn’t find anything related to this simple task. Hope you can help me out:
Actually I would like to change the design option view for the entire project, not a specific element. So a different group of families (furniture) would change for each value of the slider. The design option parameter value would be manually pre established for each family on the project so I was thinking on some way of simply filtering the families on the entire project view according to the design option value.
Families and Family Types themselves don’t have a design option parameter. Family Instances do, but as noted above you can’t set those using this method.
Actually I would like to change the design option view for the entire project,
I would describe that as Setting The Primary Option?
The design option parameter value would be manually pre established for each family on the project so I was thinking on some way of simply filtering the families on the entire project view according to the design option value.
I would describe that as setting the Design Option visibility in the view?
It’s unlikely that either of those can be set through the API but let me know if I’m on the wrong track
So what Trevor noticed there is that a View has this parameter called “VIEWER_OPTION_VISIBILITY” and by default it looks like this parameter only controls what Tags to show/hide based on specified value, but it also has this hidden functionality where it actually toggles this setting:
This is perfect for us, since that will change the design option for the view. Here’s a little script on how to do that: