QuantityY Property (FPScript)

23.08.2021

Read access to the name of the physical quantity of a data object's Y component. Read/write access to the name of the physical quantity of the current formula's Y component.

Syntax

[DataObject].QuantityY

or

[this].QuantityY = Quantity

The syntax of the QuantityY property consists of the following elements:

Element

Description

DataObject

Optional. The data object being accessed. If you omit this element, then the current formula is accessed. In the case of embedded FPScript you have to use the This keyword.

Quantity

The string to be assigned as the name of the physical quantity for the Y component of the current formula.

Remarks

Write access to the header information of a data object is only allowed for the formula where the FPScript code is located. You should only use this option in embedded FPScript. For standard formula objects, you should edit the attribute on theGeneral tab of the Properties dialog box instead.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

\DataSet.QuantityY

Returns a string with the name of the physical quantity of a data set's Y component in the root folder.

.QuantityY = "Pressure"

Sets the quantity of the current formula's Y component to "Pressure".

 

See Also

QuantityX Property

QuantityZ Property

Share article or send as email:

You might be interested in these articles