Method: Copy for 2DCurves
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Methods > Method: Copy for 2DCurves
Method: Copy for 2DCurves
Copies, in the script interface of DIAdem-VIEW, an object of the 2DCurves collection and returns the copied curve as a 2DCurve object.
Set o2DCurve = Object.Copy(NameOrIndex, NewName, InsertBeforeNameOrIndex)
| Object | 2DCurves Object with this method |
| NameOrIndex | Variant Specifies the name or the index of the curve that is to be copied. |
| NewName | String Specifies the name of the new curve. If you specify "", DIAdem generates a unique name. |
| InsertBeforeNameOrIndex | Variant Specifies the name or the index of the curve before which DIAdem inserts the copied curve. If you specify the index 0 or "", DIAdem copies the curve and inserts it behind the last curve. |
| o2DCurve | 2DCurve Returned object Contains the new curve. |
The following example copies the first curve of the active range in the active worksheet to the position behind the last curve:
| VBScript | Python |
Call View.ActiveSheet.ActiveArea.DisplayObj.Curves2D.Copy(1,"NewCurve",0)
See Also
Examples
Alignment Functions in DIAdem VIEW | Automatic Display of Harmonic Frequencies | Bird's Eye View Display | Calculating a Tangent to a Curve | Contour Display in DIAdem VIEW | Creating and Viewing Long Data Channels | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | Planetary Motion | Synchronizing Videos and Data | Synchronizing Videos and Waveform Data | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Using a User Command to Calculate the Difference between the Y-Values | Various Display Modes in DIAdem VIEW | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data