Skip navigation

FlexPro Documentation 2025

quantity_x

Read access to the name of the physical quantity of a data object's X component. Read/write access to the name of the physical quantity of the X-component of the current formula or FlexPro data.

Syntax

DataObject.quantity_x

or

Data.quantity_x

or

this.quantity_x = Quantity

or

Data.quantity_x = Quantity

The syntax of the quantity_x 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.

Data

A flexpro.Data object to which header information of the data object from which it originates is assigned.

Quantity

The string to be assigned as the name of the physical quantity for the X component.

Remarks

Write access to the header information of a data object is only permitted for the formula in which the Python code is located. Instead of using write access, you should preferably edit the attribute on the General tab of the Properties dialog box.

Available In

FlexPro Professional, Developer Suite

Examples

flexpro.object(r’\DataSet').quantity_x

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

this.quantity_x = "Time"

Sets the quantity of the current formula's X component to "Time".

 

See Also

quantity_y Property

quantity_x Property