Managing Visibility States¶
Use the CBVisibility command to manage visibility states of a CustomBlock definition.
To define a new visibility state in a CustomBlock definition:
Note: Before defining any visibility state, make sure that the visibility element exists in the CustomBlock definition.
Do one of the following:
Type CBVisibility.
Double-click a visibility element.
In the Visibility States dialog box, click New.
In the dialog box, do the following:
Type the name of the visibility state.
Specify an option:
Hide all existing entities in new state
Show all existing entities in new state
Use visibility of existing entities from the active state.
Click OK.
In the Visibility States dialog box, the new visibility state appears in the list.
Click OK.
The Visibility States drop-down list displays all defined visibility states.
To rename or delete a visibility state from a CustomBlock definition:
In the Block Editor, do one of the following:
Type CBVisibility.
Double-click a visibility element.
In the Visibility States dialog box, specify the visibility state to rename or to delete.
Click Rename or Delete.
To specify the default visibility state for a CustomBlock:
Note: The default visibility state is the first one in the Visibility States list.
In the Block Editor, do one of the following:
Type CBVisibility.
Double-click a visibility element.
In the Visibility States dialog box, specify a visibility state from the list.
Click Move Up until the specified visibility state is the first in the list.
To specify the current visibility state:
In the Block Editor, do one of the following:
Type CBVisibility.
Double-click a visibility element.
In the Visibility States dialog box, specify a visibility state.
Click Activate.
To specify the set of entities for a visibility state:
In the Block Editor, do one of the following:
Type CBVisibility.
Double-click a visibility element.
In the Visibility States dialog box, specify the active visibility state.
Click OK.
Do one of the following:
Access
Command: CBVisibility
Ribbon: Edit Block > Display State > Visibility States
Related Topics
Adding Entities to a Visibility State
Hiding Entities from a Visibility State
-CBVisibility (command window variant)
Parent Topic