Method: Item for 2DCurves
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Methods > Method: Item for 2DCurves
Method: Item for 2DCurves
Returns the 2DCurve object associated with a specific name or index in DIAdem VIEW.
Set o2DCurve = Object.Item(NameOrIndex)
Object | 2DCurves Object with this method |
NameOrIndex | Variant Specifies the name or the index of the specific curve. |
o2DCurve | 2DCurve Returned object |
![]() |
Note You can always omit the Item method because it is the standard element of the collection. |
The following example displays a message with the name of the first x-channel of a curve. The second line of the example is the simplified form of the first line. The DisplayObj must be a CurveChart2D type.
VBScript | Python |
Call MsgBoxDisp("Name of first x-channel: " & View.ActiveSheet.ActiveArea.DisplayObj.Curves2D.Item(1).XChannelName) Call MsgBoxDisp("Name of first x-channel: " & View.ActiveSheet.ActiveArea.DisplayObj.Curves2D(1).XChannelName)
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