OptionSetting Class¶
-
class
NXOpen.CAE.FTK.OptionSetting¶ Bases:
objectManager the options data for AFU Data Record
Not support KF.
New in version NX6.0.0.
Methods¶
| Method | Description |
|---|---|
| GetHeaderFlag | Get the adding header flag when export to CSV file |
| GetRecordOptionData | Get the record options data for an AFU Data Record |
| SetHeaderFlag | Set the adding header flag when export to CSV file |
| SetRecordOptionData | Set the record options data for an AFU Data Record |
Method Detail¶
GetHeaderFlag¶
-
OptionSetting.GetHeaderFlag¶ Get the adding header flag when export to CSV file
Signature
GetHeaderFlag()Returns: If want to add header when export to CSV file Return type: bool New in version NX7.5.0.
License requirements: None.
GetRecordOptionData¶
-
OptionSetting.GetRecordOptionData¶ Get the record options data for an AFU Data Record
Signature
GetRecordOptionData()Returns: a tuple Return type: A tuple consisting of (recordName, functionType, abscissaType, xUnit, ordinateType, yUnit, yDenominatorUnit, sortValueType). recordName is a str. The name of the AFU Data Record functionType is a NXOpen.CAE.XyFunctionGeneralType. Usage type of AFU Data Record used abscissaType is aNXOpen.CAE.AfuDataAbscissaType. Abscissa specific data type xUnit is aNXOpen.CAE.XyFunctionUnit. Unit Code of AFU data ordinateType is aNXOpen.CAE.AfuDataOrdinateType. Ordinate data type yUnit is aNXOpen.CAE.XyFunctionUnit. Ordinate Numerator Unit Code of AFU data yDenominatorUnit is aNXOpen.CAE.XyFunctionUnit. Ordinate Denominator Unit Code of AFU data sortValueType is a bool. If want to sort value in x directionNew in version NX9.0.0.
License requirements: None.
SetHeaderFlag¶
-
OptionSetting.SetHeaderFlag¶ Set the adding header flag when export to CSV file
Signature
SetHeaderFlag(addHeader)Parameters: addHeader (bool) – If want to add header when export to CSV file New in version NX7.5.0.
License requirements: None.
SetRecordOptionData¶
-
OptionSetting.SetRecordOptionData¶ Set the record options data for an AFU Data Record
Signature
SetRecordOptionData(recordName, functionType, abscissaType, xUnit, ordinateType, yUnit, yDenominatorUnit, sortValueType)Parameters: - recordName (str) – The name of the AFU Data Record
- functionType (
NXOpen.CAE.XyFunctionGeneralType) – Usage type of AFU Data Record used - abscissaType (
NXOpen.CAE.AfuDataAbscissaType) – Abscissa specific data type - xUnit (
NXOpen.CAE.XyFunctionUnit) – Unit Code of AFU data - ordinateType (
NXOpen.CAE.AfuDataOrdinateType) – Ordinate data type - yUnit (
NXOpen.CAE.XyFunctionUnit) – Unit Code of AFU data - yDenominatorUnit (
NXOpen.CAE.XyFunctionUnit) – Unit Code of AFU data - sortValueType (bool) – If want to sort value in x direction
New in version NX9.0.0.
License requirements: None.