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

For further information, please get in touch:
0345 370 1444


Introducing the New Microsoft Planner

16 May 2024

Calendars, tasks lists, and project planning tools are important for your business to help keep processes on track and enable task accountability. However, running multiple apps to conduct tasks often adds complexity to a workflow and can have a negative effect on productivity and efficiency.

Learn more

Improving your company's data management

15 May 2024

Data is the lifeblood of modern businesses, it fuels insights, drives decision-making on your company’s infrastructure and influences cost cutting strategies. Read this blog to see how you can improve your company's data management.

Learn more