In this blog, we look at the efficiency of the Day and Night Skies template in Twinmotion to achieve rapid renders on a Revit models.
iLogic Episode 3 – MultiValue Parameters
Anyone that uses iLogic has created a MultiValue parameter, it’s one of the most common Parameter types in iLogic. What we’re going to cover in this episode, is how we can control what users can choose in that parameter, based on a different Parameter.
I’ve created a simple part that consists of 3 material types. Each of those Material types has its own thickness that can be specified. Whether those thicknesses are due to construction, manufacturing, or supply constraints, we can account for them based on which material is chosen.
In the image above, I have Plywood with the three thickness options, I can choose any of them to control the thickness of the material. If I change that material to one of the other options, here’s the outcome.
Each of the material options changes the available thickness for said material.
Here’s how we do it.
In the Parameter Folder for system snippets, there’s a SetList snippet shown below-
That snippet allows you to set whatever options in a MultiValue Parameter you require. Combining that with an if statement or a Select Case gives me the ability to change what the user can select based on a different parameter selection.
So, for each material selection, the MultiValue Parameter changes to suit, while the MultiValue.SetValueOption at the top of my rule ensures that the currently selected option will change to one of the available sizes for that material.
There have been significant changes to the way iLogic works since 2019 so I highly recommend getting in touch with us to get your iLogic knowledge up to date. Symetri has Virtual Training Solutions to suit your needs, whether it’s a complete overhaul of what you learned or something more tailored, take a look at our iLogic training courses.
If you would like to learn more about iLogic take a look at our on-demand webinar - Introduction to iLogic
For further information, please get in touch:
0345 370 1444