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.

iLogic Episode 3 – MultiValue Parameters

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

 

Blog

Paths to Net Zero: Insights for Sustainable AEC

10 December 2024

As the built environment sector accounts for nearly 40% of global CO₂ emissions, achieving net-zero carbon has evolved from aspiration to necessity. In response, Symetri hosted the Paths to Net Zero: Insights, Technologies, and Solutions webinar series in September 2024. This article distils key takeaways from the series, offering a snapshot of challenges, trends, and impactful approaches shaping the future of decarbonization in the AEC industry. 

Learn more
Blog

What is an LCA? 3 Examples of Life-Cycle Assessments in Building Projects

12 November 2024

A Life-Cycle Assessment (LCA) is a powerful tool used to measure the complete environmental impact of a building project. It evaluates the carbon footprint and other environmental effects throughout a building's life, across four key stages: production, use, end-of-life, and beyond. Below are three examples of how LCAs can guide decisions for more sustainable building projects.

Learn more