Read access to the origin of a data object. Read/write access to the origin of the current formula or FlexPro data.
Syntax
DataObject.origin
or
Data.origin
or
this.origin = origin
or
Data.origin = Origin
The syntax of the origin property consists of the following elements:
Element |
Description |
---|---|
DataObject |
The data object being accessed. Use this to access the current formula. |
Data |
A flexpro.Data object to which header information of the data object from which it originates is assigned. |
Origin |
String with the origin of the data object. |
Available In
FlexPro Professional, Developer Suite
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.
Examples
this.origin |
Returns in a string that describes the origin of the current formula. |
flexpro.object(r’\DataSet’).origin |
Returns a string that describes the origin of a data set in the root folder. |