DataSetAxis
Every DataSet contains axes and quantities. The DataSetAxis describes the definition of an axis.
Example
app = pf.GetApplication() app:NewProject() app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]]) -- Retrieve the far field data set farFieldDataSet = app.Models[1].Configurations[1].FarFields["FarFields"]:GetDataSet(51) -- Print a list of the far field axes printlist( farFieldDataSet.Axes:Items() ) -- Access information about the "Phi" axis phiAxis = farFieldDataSet.Axes["Phi"] phiAxisName = phiAxis.Name phiAxisUnit = phiAxis.Unit phiAxisDescription = phiAxis.Description phiAxisValues = phiAxis.Values -- The actual phi values in degrees numberPhiAxisValues = #phiAxis firstPhiValue = phiAxis[1] lastPhiValue = phiAxis[#phiAxis]
Usage locations
The DataSetAxis object can be accessed from the following locations:
- Methods
- DataSetAxisCollection collection has method Items().
- DataSetAxisCollection collection has method Item(number).
- DataSetAxisCollection collection has method Item(string).
- DataSetAxisCollection collection has method Add(DataSetAxisEnum).
- DataSetAxisCollection collection has method Add(DataSetAxisEnum, number, number, number).
- DataSetAxisCollection collection has method Add(DataSetAxisEnum, List of Variant).
- DataSetAxisCollection collection has method Add(string, Unit).
- DataSetAxisCollection collection has method Add(string, Unit, Variant).
- DataSetAxisCollection collection has method Add(string, Unit, number, number, number).
- DataSetAxisCollection collection has method Add(string, Unit, List of Variant).
- DataSetAxisCollection collection has method Add(DataSetAxis).
Property List
- Count
- The number of values on the axis. (Read only number)
- Description
- A text description of the axis. (Read only string)
- Name
- The name of the axis. (Read/Write string)
- Type
- The object type string. (Read only string)
- Unit
- The unit for the axis. (Read/Write Unit)
- Values
- The values of the axis. (Read/Write List of Variant)
Method List
Index List
Property Details
- Count
- The number of values on the axis.
- Type
- number
- Access
- Read only
- Description
- A text description of the axis.
- Type
- string
- Access
- Read only
- Name
- The name of the axis.
- Type
- string
- Access
- Read/Write
- Type
- The object type string.
- Type
- string
- Access
- Read only
- Unit
- The unit for the axis.
- Type
- Unit
- Access
- Read/Write
- Values
- The values of the axis.
- Access
- Read/Write