Read access to the name of the physical quantity of a data object's Z component. Read/write access to the name of the physical quantity of the Z component of the current formula or FlexPro data.
Syntax
DataObject.quantity_z
or
Data.quantity_z
or
this.quantity_z = Quantity
or
Data.quantity_z = Quantity
The syntax of the quantity_z 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. |
Quantity |
The string to be assigned as the name of the physical quantity for the Z 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_z |
Returns a string with the name of the physical quantity of a data set's Z component in the root folder. |
this.quantity_z = "Frequency" |
Sets the quantity of the current formula's Z component to "Frequency". |