> For the complete documentation index, see [llms.txt](https://docs.simplio3d.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.simplio3d.com/learning-the-app/products/create-options/restrictions.md).

# Restrictions

In previous chapters, we covered how users can add different types of option sets. Depending on the configurator built, in each set of options we have a number of variants that we can add. But all of these variants found in all of the option sets I added can be linked together depending on the constraints that the product configurator I'm building will have. For example, if I choose to select teacup model 1, then I may have one set of colors available, but if I choose teacup model 2, then I may have a different set of colors available for that model. I can achieve this by linking the variants together.

{% hint style="info" %}
For your restrictions to work properly, make sure your 3D models are set up correctly. To avoid issues, **don’t use multiple materials on a single part** or **group materials or parts together**. Keep your 3D models **simple and clean** for best results.
{% endhint %}

In short, each variant can be linked to one or more variants to create a restriction.

To add a restriction, click the button with a "chain" icon located in the right bar in each variant.

<figure><img src="/files/m0ZphaRYeaILn3Y3no9F" alt=""><figcaption><p>Restriction buttons</p></figcaption></figure>

{% hint style="info" %}
**If a restriction icon includes an asterisk (\*), it indicates that a restriction has been set for that variant, as shown in the screenshot above.**
{% endhint %}

Except for "Default" and "Section", all option types have a restriction button displayed on each added variation. Clicking the restriction button will open a pop-up window with settings to define the restriction for the variant.

<figure><img src="/files/kHN7VT6wDnHXMS8GUoV6" alt=""><figcaption><p>Restriction Popup Window: Constraint Expression</p></figcaption></figure>

**In Simplio3D, all restrictions share the same general expression:**&#x20;

Option is: *Hidden by default, becomes visible*, When: *All following rules are true*; **Type of Restriction** **>** **Options set**.

For the example found in the image above, this means that the color variant "*palm\_back\_plain*" will be hidden by default, becoming visible only when all of the following rules are true: when users select the "*plain*" material type it will unhide the '*palm\_back\_plain*' color. In other words, if I select Plain material I will see the 'palm\_back\_plain' color option.

As a user, you just need to select the ‘Type of restriction’, ‘Option set’ and the variant(s) upon which the variant will be linked.

The platform works with 2 types of restrictions:&#x20;

* Has one or more variants selected from - an example explained above&#x20;
* The variant value is between min and max - this type of restriction only works with numeric variants, for example restriction within a range.

**Please find below restriction examples:**

Example using ['Has one or more variants selected from' type of restriction.](/learning-the-app/products/create-options/restrictions/has-one-or-more-variants-selected-from-type-of-restriction.md)

Example using ['The variant value is between min and max' type of restriction.](/learning-the-app/products/create-options/restrictions/the-variant-value-is-between-min-and-max-type-of-restriction.md)

These restrictions can also be used together with hidden option sets, which serve as **'dummy' options** in certain situations.

Example: [How to apply 'dummy' blocks for more advanced restrictions](/learning-the-app/products/create-options/restrictions/how-to-apply-dummy-blocks-for-more-advanced-restrictions.md)

{% embed url="<https://www.youtube.com/watch?v=RUwTsx00dfs>" %}
