Links

<< Click to Display Table of Contents >>

 

Links

Links are connections performed among properties and objects, or among properties. Links make easier to create animations and other types of common logic, thus minimizing the usage of scripts.

Users can open the Links tab by right-clicking the object and then selecting the Properties option. This tab displays all object properties that can be connected, as well as the existing Link types and their sources.

Links tab

Links tab

The available options on Links tab are described on the next table.

Available options on Links tab

Option

Description

Properties

Lists object properties that can be linked

Link

Determines the type of Link of the selected property. For common properties, the available Links are Simple, Bi-directional, Analog, Digital, Table, Reverse, and Multiple. There is also a link among ElipseX properties and objects, which still cannot be modified. For more details, please check the chapter Libraries

Source

In the simplest case, specifies the path to an object or property. This path can be filled in by using AppBrowser, which can be opened by clicking AppBrowser, on the right side of this field. In general, this is an expression allowing logical and arithmetical operations, as well as evaluating functions for properties, objects, and constants

 

When specifying the source of a Link, its text appears in blue, in case it corresponds to a valid expression. If this expression contains errors, as in non-existing object paths (or as in objects belonging to projects not loaded), its text appears in red. In these cases, the Domain Verifier option informs the places that need corrections or revision. The available types of Links are explained on the next topics.

The Source field may contain a reference to an existing context object in the upper hierarchy of the object where the Link is being created. The format of a reference of this type is @(Context)[.Path], where Context is the context's name (possible values are available in the description of the Context method, in E3 Reference and Scripts Manual), and Path can be a path of an existing object in the lower hierarchy of the context object, or else a property of this object. Context names are case insensitive.

 

NOTE

When specifying an object's path in the Source field, this path must be delimited by brackets in the following cases:

Contains any character that is not a letter (a-z | A-Z) when used as the first character of a Domain's name.

Contains any character that is not a letter (a-z | A-Z), a number (0-9), or an underscore (_) when used after the first character of a Domain's name.

Was this page useful?