Calculable PropertiesPilotScript can calculate properties on-the-fly, if they are not defined in the data
record. These types of properties are known as calculable properties. They are used by
custom manipulator and filter components and are referred to in a PilotScript expression.
For example, if the expression For a property to be calculated on-the-fly, the following conditions must be met:
For example, the conditional statement is: IF Num_Atoms > 200 THEN ... In this case, this
Note:
By default, calculated properties are discarded after the custom manipulator and filter components releases the record. To keep these properties, set the parameter Keep Calculated Properties to "True". To view a list of registered calculable properties, press F4 from the PilotScript expression editor. A list of registered calculable properties is displayed. This list includes both the registered properties and custom calculable properties stored in your "User Name" tab. If other client users are working on the server, they may be creating components that register calculable properties (via an "output" parameter). These calculable properties are added to the database on the server, and they are available for any client user's expressions. To display any new calculable properties that were recently added to the server, press F7. In addition to on-the-fly calculation, there are other ways to calculate properties, including:
Note:
If a parameter named Output is added to a component, the
value of the parameter becomes a calculable property.
| |||||||||