Method: Add for 2DCurves
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Methods > Method: Add for 2DCurves
Method: Add for 2DCurves
Adds an object to the 2DCurves collection and returns a 2DCurve object, in the script interface of DIAdem VIEW.
Set o2DCurve = Object.Add(XNameOrNo, YNameOrNo)
| Object | 2DCurves Object with this method |
| XNameOrNo | Variant Specifies the name or the number of the x-channel to be displayed. |
| YNameOrNo | Variant Specifies the name or the number of the y-channel to be displayed. |
| o2DCurve | 2DCurve Returned object |
The following example creates a new worksheet containing a 2D axis system with a curve:
| VBScript | Python |
Call View.Sheets.RemoveAll Dim oMySheet: Set oMySheet = View.Sheets.Add("NewSheet") oMySheet.ActiveArea.DisplayObjType = "CurveChart2D" Call oMySheet.ActiveArea.DisplayObj.Curves2D.Add("[1]/[1]","[1]/[2]")
See Also
Procedures
Configuring a Map Display | Configuring a Text Box Display | Deleting Curve Sections and Interpolating over Specified Points | Displaying 2D Axis Systems with Several Y-Axes | Displaying Images in DIAdem VIEW | Displaying Properties in the Legend of a Curve | Displaying the Curve Coordinates | Displaying Videos and Data Synchronously | Finding Values in Channel Tables | Interpolating Curve Points | Setting the Leading Curve | Transferring VIEW Layouts to DIAdem REPORT | Viewing Data as Curves | Zooming and Scrolling Curve Areas
Examples
Analyzing and Displaying Channels Section by Section | Automatic Display of Harmonic Frequencies | Background Segments in DIAdem VIEW | Calculating a Tangent to a Curve | Creating and Viewing Long Data Channels | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data