Docs Home

Text Component

Dragging the text component to the canvas will create a text box where you can add a text label to your sim. Use the text properties to change your text, font style, add actions, replacement values, and create conditional events that are triggered by comparative values (for more information, see 'Text Settings: Conditionals' below). Note that this component is capable of supporting basic HTML code. Also, note that this text component is used to provide information to the user and is not used to get data from the user. To provide an option for users to enter data, use the ‘Text Area’ component found in the 'Text, Images, and Video' components list on the component panel.

Access the text component properties by clicking on the text component after it has been placed on the canvas. The Text Settings tab will appear in the component panel displaying a stack of horizontal tabs that are labeled and categorized as follows:

Scroll down to view descriptions of all the text component property options. Note that the property descriptions below are divided into the same categories found in the Text Settings tab.

Text Settings: Text and Styles

Click the 'Text and Styles' tab in the component panel to access the properties for creating and modifying your text.

image

Text Settings: Text and Style Tab image

Text Settings: Actions

Click the 'Actions' tab in the component panel to access the properties used to set your text to trigger an action when clicked on by a user.


Text Settings: Actions Tab image

Text Settings: Replacement Values

Replacement values are applied to allow text in a label to change based on the replacement value settings. For example, a label with a replacement value can be set to display the current user name. When a new user logs into the sim, the label will automatically display the new user name. Other common uses include current simulation time, or the value of a variable. Click the 'Replacement Values' tab in the component panel to access the properties used to add replacement values. See the FAQs below for instructions on creating a replacement value.


FAQs

What does a replacement value do?
How do I set a replacement value?

Tutorials

Creating a 'First Name' and 'Simulation Time' replacement value.


Text Settings: Replacement Values Tab image

Text Settings: Conditionals

A conditional is used to enable your text to be displayed based on the value of a variable in the model, a value of an interface variable, or the value of a simulation property. To access the properties for adding a conditional, click the 'Conditionals' tab in the component panel.

Note that conditionals are executed in the order they appear in the list and execution stops when the first conditional is met.


FAQs
How do I create a text conditional?


Text Settings: Conditionals Tab image

Text Settings: Size, Position, and ToolTip

Click the ‘Size, Position, and ToolTip’ tab in the component panel to access the properties used to adjust the size and position of the text and provide tooltip information to the user.


Text Settings: Size, Position, and ToolTip Tab image




Back | Forward | Main Page