AfuData Class¶
-
class
NXOpen.CAE.AfuData¶ Bases:
NXOpen.TransientObjectthe data used to create an AFU Data Record
New in version NX4.0.0.
Properties¶
| Property | Description |
|---|---|
| AfuAbscissaHeaderInfo | Returns or sets the abscissa header information data of the AFU Data Record |
| AfuHeaderId | Returns or sets the AFU Header Id data of the AFU Data Record |
| AfuOrdinateHeaderInfo | Returns or sets the ordinate header information data of the AFU Data Record |
| AfuZHeaderInfo | Returns or sets the Z axis header information data of the AFU Data Record |
| Extrapolation | Returns or sets the extrapolation type |
| FileName | Returns or sets the name of AFU file |
| FunctionDataType | Returns or sets the data type of the AFU Data Record |
| Interpolation | Returns or sets the interpolation type |
| RecordName | Returns or sets the name of the AFU Data Record |
Methods¶
| Method | Description |
|---|---|
| Dispose | Free the AFU Data transient object memory |
| GetAbscissaAndOrdinateAxisDefinition | Get the Abscissa and Ordinate Axis definitions of an AFU Data Record |
| GetComplexData | Get the XY data of an AFU Data Record when the ordinate type is Complex |
| GetEvenData | Get the Abscissa Information for an AFU Data Record when the abscissa type is even |
| GetRealData | Get the XY Data of an AFU Data Record when the ordinate type is real |
| SetAbscissaAndOrdinateAxisDefinition | Set the Abscissa and Ordinate Axis definitions of an AFU Data Record |
| SetComplexData | Set the XY Data of an AFU record when the ordinate type is Complex |
| SetRealData | Set the XY Data of an AFU Data Record when the ordinate type is real |
Enumerations¶
| AfuDataAbscissaType Enumeration | Defines abscissa data type for AFU data record |
| AfuDataExtrapolationType Enumeration | Defines data extrapolation type for AFU data record |
| AfuDataInterpolationType Enumeration | Defines data interpolation type for AFU data record |
| AfuDataOrdinateType Enumeration | Defines ordinate data type for AFU data record |
Property Detail¶
AfuAbscissaHeaderInfo¶
-
AfuData.AfuAbscissaHeaderInfo¶ Returns or sets the abscissa header information data of the AFU Data Record
-------------------------------------Getter Method
Signature
AfuAbscissaHeaderInfoReturns: Abscissa header information data CAE.AfuAbscissaHeaderInfoto be getReturn type: NXOpen.CAE.AfuAbscissaHeaderInfoNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AfuAbscissaHeaderInfoParameters: abscissaHeaderInfo ( NXOpen.CAE.AfuAbscissaHeaderInfo) – Abscissa header information dataCAE.AfuAbscissaHeaderInfoto be setNew in version NX10.0.0.
License requirements: None.
AfuHeaderId¶
-
AfuData.AfuHeaderId¶ Returns or sets the AFU Header Id data of the AFU Data Record
-------------------------------------Getter Method
Signature
AfuHeaderIdReturns: The AFU Header Id data Return type: NXOpen.CAE.AfuHeaderIdNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AfuHeaderIdParameters: afuHeaderId ( NXOpen.CAE.AfuHeaderId) – The AFU Header Id dataNew in version NX5.0.0.
License requirements: None.
AfuOrdinateHeaderInfo¶
-
AfuData.AfuOrdinateHeaderInfo¶ Returns or sets the ordinate header information data of the AFU Data Record
-------------------------------------Getter Method
Signature
AfuOrdinateHeaderInfoReturns: Ordindate header information data CAE.AfuOrdinateHeaderInfoto be getReturn type: NXOpen.CAE.AfuOrdinateHeaderInfoNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AfuOrdinateHeaderInfoParameters: ordinateHeaderInfo ( NXOpen.CAE.AfuOrdinateHeaderInfo) – Ordindate header information dataCAE.AfuOrdinateHeaderInfoto be setNew in version NX10.0.0.
License requirements: None.
AfuZHeaderInfo¶
-
AfuData.AfuZHeaderInfo¶ Returns or sets the Z axis header information data of the AFU Data Record
-------------------------------------Getter Method
Signature
AfuZHeaderInfoReturns: Z axis header information data CAE.AfuZHeaderInfoto be getReturn type: NXOpen.CAE.AfuZHeaderInfoNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AfuZHeaderInfoParameters: zHeaderInfoP ( NXOpen.CAE.AfuZHeaderInfo) – Z axis header information dataCAE.AfuZHeaderInfoto be setNew in version NX10.0.0.
License requirements: None.
Extrapolation¶
-
AfuData.Extrapolation¶ Returns or sets the extrapolation type
-------------------------------------Getter Method
Signature
ExtrapolationReturns: the extrapolation method Return type: NXOpen.CAE.AfuDataExtrapolationTypeNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtrapolationParameters: extrapolation ( NXOpen.CAE.AfuDataExtrapolationType) – the extrapolation methodNew in version NX11.0.0.
License requirements: None.
FileName¶
-
AfuData.FileName¶ Returns or sets the name of AFU file
-------------------------------------Getter Method
Signature
FileNameReturns: The full name of the AFU file Return type: str New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FileNameParameters: afuFileName (str) – The full name of the AFU file New in version NX4.0.0.
License requirements: None.
FunctionDataType¶
-
AfuData.FunctionDataType¶ Returns or sets the data type of the AFU Data Record
-------------------------------------Getter Method
Signature
FunctionDataTypeReturns: The data type of a function in AFU Return type: NXOpen.CAE.XyFunctionDataTypeNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FunctionDataTypeParameters: functionDataType ( NXOpen.CAE.XyFunctionDataType) – The data type of a function in AFUNew in version NX5.0.0.
License requirements: None.
Interpolation¶
-
AfuData.Interpolation¶ Returns or sets the interpolation type
-------------------------------------Getter Method
Signature
InterpolationReturns: the interpolation method Return type: NXOpen.CAE.AfuDataInterpolationTypeNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InterpolationParameters: interpolation ( NXOpen.CAE.AfuDataInterpolationType) – the interpolation methodNew in version NX11.0.0.
License requirements: None.
RecordName¶
-
AfuData.RecordName¶ Returns or sets the name of the AFU Data Record
-------------------------------------Getter Method
Signature
RecordNameReturns: The name of the AFU Data Record Return type: str New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RecordNameParameters: afuRecordName (str) – The name of AFU Data Record New in version NX4.0.0.
License requirements: None.
Method Detail¶
Dispose¶
-
AfuData.Dispose¶ Free the AFU Data transient object memory
Signature
Dispose()New in version NX4.0.0.
License requirements: None.
GetAbscissaAndOrdinateAxisDefinition¶
-
AfuData.GetAbscissaAndOrdinateAxisDefinition¶ Get the Abscissa and Ordinate Axis definitions of an AFU Data Record
Signature
GetAbscissaAndOrdinateAxisDefinition()Returns: a tuple Return type: A tuple consisting of (abscissaType, xUnit, ordinateType, yUnit, yDenominatorUnit). abscissaType is a NXOpen.CAE.AfuDataAbscissaType. Abscissa specific data type xUnit is aNXOpen.CAE.XyFunctionUnit. Unit Code of abscissa data ordinateType is aNXOpen.CAE.AfuDataOrdinateType. Ordinate data type yUnit is aNXOpen.CAE.XyFunctionUnit. Unit Code of ordinate data yDenominatorUnit is aNXOpen.CAE.XyFunctionUnit. Unit Code of ordinate dataNew in version NX9.0.0.
License requirements: None.
GetComplexData¶
-
AfuData.GetComplexData¶ Get the XY data of an AFU Data Record when the ordinate type is Complex
Signature
GetComplexData()Returns: a tuple Return type: A tuple consisting of (zValues, xValues, yValues) zValues is a list of float. Ordinate element data values for imaginary part or phase part xValues is a list of float. Abscissa element data valuesyValues is a list of float. Ordinate element data values for real part or magnitude part New in version NX4.0.0.
License requirements: None.
GetEvenData¶
-
AfuData.GetEvenData¶ Get the Abscissa Information for an AFU Data Record when the abscissa type is even
Signature
GetEvenData()Returns: a tuple Return type: A tuple consisting of (xMinimum, xIncrement, numberOfPoints) xMinimum is a float. Minimum abscissa data value xIncrement is a float. Abscissa increment numberOfPoints is a int. Number of abscissa elements New in version NX4.0.0.
License requirements: None.
GetRealData¶
-
AfuData.GetRealData¶ Get the XY Data of an AFU Data Record when the ordinate type is real
Signature
GetRealData()Returns: a tuple Return type: A tuple consisting of (yValues, xValues) yValues is a list of float. Ordinate element data values xValues is a list of float. Abscissa element data values New in version NX4.0.0.
License requirements: None.
SetAbscissaAndOrdinateAxisDefinition¶
-
AfuData.SetAbscissaAndOrdinateAxisDefinition¶ Set the Abscissa and Ordinate Axis definitions of an AFU Data Record
Signature
SetAbscissaAndOrdinateAxisDefinition(xUnit, ordinateType, yUnit, yDenominatorUnit)Parameters: - xUnit (
NXOpen.CAE.XyFunctionUnit) – Unit Code of abscissa data - ordinateType (
NXOpen.CAE.AfuDataOrdinateType) – Ordinate data type - yUnit (
NXOpen.CAE.XyFunctionUnit) – Unit Code of ordinate data - yDenominatorUnit (
NXOpen.CAE.XyFunctionUnit) – Unit Code of ordinate data
New in version NX9.0.0.
License requirements: None.
- xUnit (
SetComplexData¶
-
AfuData.SetComplexData¶ Overloaded method SetComplexData
SetComplexData(xValues, yValues, zValues)SetComplexData(xMinimum, xIncrement, yValues, zValues)
-------------------------------------Set the XY Data of an AFU record when the ordinate type is Complex
Signature
SetComplexData(xValues, yValues, zValues)Parameters: - xValues (list of float) – Abscissa element data values
- yValues (list of float) – Ordinate element data values for real part or magnitude part
- zValues (list of float) – Ordinate element data values for imaginary part or phase part
New in version NX4.0.0.
License requirements: None.
-------------------------------------Set the XY Data of an AFU record when the ordinate type is Complex
Signature
SetComplexData(xMinimum, xIncrement, yValues, zValues)Parameters: - xMinimum (float) – Minimum abscissa data value
- xIncrement (float) – Abscissa increment
- yValues (list of float) – Ordinate element data values for real part or magnitude part
- zValues (list of float) – Ordinate element data values for imaginary part or phase part
New in version NX9.0.0.
License requirements: None.
-------------------------------------
SetRealData¶
-
AfuData.SetRealData¶ Overloaded method SetRealData
SetRealData(xValues, yValues)SetRealData(xMinimum, xIncrement, yValues)
-------------------------------------Set the XY Data of an AFU Data Record when the ordinate type is real
Signature
SetRealData(xValues, yValues)Parameters: - xValues (list of float) – Abscissa element data values
- yValues (list of float) – Ordinate element data values
New in version NX4.0.0.
License requirements: None.
-------------------------------------Set the XY Data of an AFU Data Record when the ordinate type is real and the absicssa type is even
Signature
SetRealData(xMinimum, xIncrement, yValues)Parameters: - xMinimum (float) – Minimum abscissa data value
- xIncrement (float) – Abscissa increment
- yValues (list of float) – Ordinate element data values
New in version NX9.0.0.
License requirements: None.
-------------------------------------