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

The Complete Autodesk Software List - All 112 Autodesk Products in one list

30 September 2024

Have you ever wondered how many product titles Autodesk has in its design software portfolio? Well its 112 at this point in time, but with the continuous acquisitions this number is ever increasing. The design, Digital Prototyping, Building information modelling (BIM) etc……. tools created by Autodesk cover  multiple industry sectors and are used by over 10 million users in more than 185 countries. That’s pretty incredible!

Learn more