Visibility states panel

The Visibility States panel displays a list of visibility states in the drawing.

  1. Add parameter.
  2. Add state.
  3. Context menu button.
  4. Select entities in the drawing and add them to this parameter.
  5. Select entities in the drawing and remove them from this parameter.

Visibility states allow you to create blocks where just selecting one or more parameters change the appearance of the block by showing or hiding various entities inside the block. Each visibility states parameter can have one or more states.

Note: There is no need to be in Block editor to use Visibility States.
Note: One entity can be assigned to multiple parameters at the same time. In this case, the entities will only be visible if they are set to be visible for the current states of both parameters.
Note: The new created parameters appear in Parameters in the Properties panel.

Whenever there are entities that are (in)visible for all states of a parameter, a message label will appear at the bottom of the panel, together with two link buttons. Show will highlight these entities in red and, if they are invisible, make them visible and semi-transparent. Remove from Parameter will remove these entities from the appropriate parameters, making them visible but no longer linked to the parameter.

Context menu options

Note: You can access these options by clicking on the context menu buttons.
Show invisible

This option can be toggled on and off. When on, any entities that are currently made invisible by the selected state are highlighted in blue and are semi-transparent.

Note: This enables you to perform any actions for which you might need to select both visible and invisible entities at the same time (move, align, remove from parameter).
Note: This option stays active until you close the panel, switch to a new document or enter block edit mode.
Options for Parameter
Rename

Type a new name to replace the existing one.

Note: As for parameters and constraints, there are limitations on which characters are allowed in a parameter.
Remove
Removes the parameter and its states. Any entities that were made invisible by this parameter will become visible again.
Remove selected entities from parameter
Removes the selected entities from the parameter.
Add state
Adds a new state to the parameter. If the parameter already has states with entities assigned to them, all these entities will, by default, be invisible for the new state.
Options for State
Clone
Creates a copy of the state.
Remove

Removes the state from the parameter.

Note: This option does not affect the other states of the parameters.
Rename

Type a new name to replace the existing one.

Note: There are no limitations on which characters are allowed.
Make entities visible

Makes the selected entities visible.

Note: Entities that are not in the parameter are added and made visible only for the selected states. Entities that are already in the parameter are made visible for the selected state, without affecting the other states.
Make entities invisible

Makes the selected entities invisible.

Note: Entities that are not in the parameter are added and made invisible only for the selected states and visible for the others. Entities that are already in the parameter are made invisible for the selected state, without affecting the other states.

Show state entities

For a more detailed view of the visibility state, you can double-click a state to open it or press the right-side arrow. Now the panel will show a list of entities for the state's parameter, along with an icon that indicates the visibility of each of these entities for this state. You can go back to the main view by clicking the parameter's name in the top right corner, or the Back button.

The following actions are available in this view:

Selecting and deselecting entities

The selection of entities in the panel changes the selection in the drawing, and vice versa. This allows you to easily check which entities are visible or invisible in the current state.

Adding entities (4)

When clicked, you will be asked to select entities in the drawing.

Entities that are not in the parameter are added and made visible only for the selected state, and invisible for all other states.

Entities that are already in the parameter are made not affected.

Note: If you already have entities selected, you will not be asked to select entities. Instead, the action applies on the already selected entities.
Removing entities (5)

When clicked, the selected entities are removed from the parameter and all its states (same as the Remove entities from parameter... action described above).

Note: If you already have entities selected, you will not be asked to select entities. Instead, the action applies to the already selected entities.
Toggling entity visibility

If you select one or more entities, then click one entity's 'eye' icon, its visibility is switched (from visible to invisible or vice versa). The new visibility also applies to all other selected entities.

Note: If multiple entities were selected, the eye icon was clicked for one entity that is currently invisible, all selected entities will become visible.