Common visibility

<< Click to Display Table of Contents >>

Navigation:  Examples > Object visibility >

Common visibility

Previous pageReturn to chapter overviewNext page

We create tag with name State:

tagstate

Depending on the tag's value we want to make Rectangle object visible or not (instead of the Rectangle there can be other objects):

rectangleex

For example we want object is not visble if our (State) tag's value equal 0, and not visible if tag's value not equal 0. We need to enable Visibility property and fill it like this:

visiblecommon

Click OK to confirm your changes and Run simulation to check your settings:

visiblecommon