Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
labs:explicithistory:expressionlanguage [2016/04/22]
sandy
labs:explicithistory:expressionlanguage [2016/04/22] (current)
sandy
Line 13: Line 13:
 The Explicit History plug-in features its own brand of expression syntax, since the available scripting languages rarely support vector and point operators. The syntax of the Explicit History Expression language is similar to VBScript, but with several additions. The Explicit History plug-in features its own brand of expression syntax, since the available scripting languages rarely support vector and point operators. The syntax of the Explicit History Expression language is similar to VBScript, but with several additions.
  
-First, expression parsing is important when defining logical relationships between parameters, and the language outlined on this page is used both in the math components that deal with scriptable expressions and in some parameter types directly. All numeric and vectorial parameters expose a simple, one-line expression for post-processing any data that comes in.+First, expression parsing is important when defining logical relationships between parameters. And the language outlined on this page is used both in the math components that deal with scriptable expressions and in some parameter types directly. All numeric and vectorial parameters expose a simple, one-line expression for post-processing any data that comes in.
  
-For example, let's look at the Line SDL (Start, Direction, Length) component which takes a point, a vector, and a double. All these parameter types support inline expressions,​ but we'll start with the simplest one: the Double parameter that indicates ​the length of the line segment. If you browse through the context menu of the **L** parameter you'll find the **Expression F(x)** item at the bottom. This menu item expands to give you two alternate interfaces to the expression script:+For example, let's look at the Line SDL (Start, Direction, Length) component which takes a point, a vector, and a double. All these parameter types support inline expressions,​ but we'll start with the simplest one: the Double parameter that indicates the line segment ​length. If you browse through the context menu of the **L** parameter you'll find the **Expression F(x)** item at the bottom. This menu item expands to give you two alternate interfaces to the expression script:
  
 \\ \\
labs/explicithistory/expressionlanguage.txt ยท Last modified: 2016/04/22 by sandy