The following sections include a list of all changes made to the FlexPro Object Model.
The changes in the FlexPro 2025 Automation Object Model from the previous version mostly involve backward compatible extensions. The few changes that may require you to change your code are in red in the text below.
If you want to import macros or Automation code from FlexPro 6 through FlexPro 2019 to FlexPro 2025, you should first take a look at the changes listed in the linked Help pages from the previous versions of FlexPro.
Note: You can obtain more information about the significant features of the listed objects, methods and properties by clicking on the links.
New Objects
The PythonFormula object represents the new Python formula object.
The LifetimeAnalysis object represents the new Lifetime Analysis analysis object.
The PythonFormula object represents the new Python formula object.
The EmpiricalDistributionAnalysis object represents the new Empirical Distributionanalysis object.
Changes to Existing Objects
The ActiveControlPanel property has been added to the Global object.
The ActiveControlPanel property has been added to the Application object.
The FpObject object has been extended by the Replace method.
The FpObjects object has been extended by the Replace method.
The Replace method has been added to the DocObjectSelection object.
The XInterval property has been added to the SignalSamplingAnalysis object.
The DistributionAnalysis object has been expanded to include the properties NumberOfRightCensoredValues, Algorithm, UseMLECorrectionFactor, MLEMaximumNumberOfIterations and MLEETolerance.
The UndoEditOperation method has been added to the FpCursor object.
The Before argument has been added to the Add method of the Axes2D object.
The Before argument has been added to the Add method of the Curves2D object.
The Before argument has been added to the Add method of the Curves3D object.
The Before argument has been added to the Add method of the ColumnTableColumns object.
The Move method has been added to the Pages object.
The ColumnTable object has been expanded to include the SortOrientation, SortColumn and SortSubColumn properties.
The ColumnTableColumnData, ColumnTableColumnRowIndex and ColumnTableColumnColumnIndex objects have been expanded to include the Value property.
The SoundLevelAnalysis object has been expanded to include the InputType property.
The OctaveAnalysis object has been extended by the InputType property.
The TextDataLink object has been expanded to include the FilePathFromDataSet and FilePathDataSet properties.
The FileDataLink, TextDataLink, ExcelDataLink and TextFileLink objects have been expanded to include the FilePathFromDataSet and FilePathDataSet properties.
Almost all numerical properties of analysis objects now support the specification of any FPScript expression instead of a numerical value. This makes it possible, for example, to outsource the value of the property to a data set. Such properties are now saved in the object as a string with FPScript code. The corresponding properties in the object model were therefore changed from the numeric data type to the Variant data type and an optional Boolean argument AsString with the default value False was added. When setting such a property, the AsString argument is ignored and you can pass either a string with FPScript code or a numerical value as a Variant. The numerical value is then converted into FPScript code. When reading with the default value AsString equal to False, it is checked whether the FPScript expression can be interpreted as a numerical value and, if so, this numerical value is returned as a Variant. Otherwise, the FPScript expression is returned as a Variant with a string. If you are working with an interpreter language such as VBA, you do not have to change lines in which such a property is read or written, as it is automatically converted to Variant. In a compiler language such as C++, you must explicitly convert the argument to a Variantariant when writing and explicitly read the numerical value from the Variant when reading.
Dropped Objects
The object MathWorksMATLABDataLink has been removed. Use the object FileDataLink instead.
New Enumeration Types
The enumeration types FpEmpiricalDistributionPlottingPosition, FpHarmonicComponentMode, FpLifetimeAnalysisOutput, FpReplaceElements, FpTableSortOrientation, FpDistributionFrequency, FpWeibullFitAlgorithm, FpSoundLevelInputType and FpOctaveAnalysisInputType have been added.
Changes to Existing Enumeration Types
The additional element fpNameClashHandlingAddToIfExists was added to the enumeration type FpNameClashHandling.
The additional elements fpObjectTypeEmpiricalDistribution and fpObjectTypeLifetimeAnalysis have been added to the enumeration type FpObjectType and the element fpObjectTypeMathWorksMATLABDataLink has been removed.
In the FpWindowView enumeration type, the fpWindowViewFPScript element has been renamed fpWindowViewCode.
The additional element fpAxisScalingTypeWeibull has been added to the enumeration type FpAxisScalingType.
The additional elements fpSignalSamplingResultBlockCompressFirstVal and fpSignalSamplingResultBlockCompressMean have been added to the FpSignalSamplingResult enumeration type.
The additional elements fpExportFormatFlexProUTF16Text5 and fpExportFormatParquet have been added to the FpExportFormat enumeration type.
The additional element fpSoundLevelCalibrationModeNone has been added to the enumeration type FpSoundLevelCalibrationMode.
The additional element fpOctaveAnalysisCalibrationModeNone has been added to the enumeration type FpOctaveAnalysisCalibrationMode.
The additional elements fpLoudnessCalibrationModeDataSet and fpLoudnessCalibrationModeNone have been added to the FpLoudnessCalibrationMode enumeration type.
The additional elements fpSharpnessCalibrationModeDataSet and fpSharpnessCalibrationModeNone have been added to the FpSharpnessCalibrationMode enumeration type.
See Also
What's New in the FlexPro 2021 Object Model
What's New in the FlexPro 2019 Object Model
What's New in the FlexPro 2017 Object Model
What's New in FlexPro 10's Object Model
What's New in FlexPro 9's Object Model