Method: Item for CascadeCurves
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Methods > Method: Item for CascadeCurves
Method: Item for CascadeCurves
Returns the CascadeCurveBase object associated with a specific name or index in DIAdem VIEW.
Set oCascadeCurveBase = Object.Item(NameOrIndex)
| Object | CascadeCurves Object with this method |
| NameOrIndex | Variant Specifies the name or the index of the specific order line. |
| oCascadeCurveBase | CascadeCurveBase Returned object |
![]() | Note You can always omit the Item method because it is the standard element of the collection. |
The following example creates a cascade display and adds a waterfall curve and an order line:
| VBScript | Python |
Call Data.Root.Clear() Call DataFileLoad(ProgramDrv & "Examples\Data\cascade.tdm","TDM","") Dim oMyDisplayObj, oMyCascadeCurve, oMyLineCurve Call View.NewLayout View.Sheets(1).Areas(1).DisplayObjType = "Cascade" Set oMyDisplayObj = View.Sheets(1).Areas(1).DisplayObj Set oMyCascadeCurve = oMyDisplayObj.CurvesCascade.AddCascade("[2]/[1]","[2]/[2]","[2]/[3]") Set oMyLineCurve = oMyDisplayObj.CurvesCascade.AddLine("[4]/[156]","[4]/[157]") oMyDisplayObj.CurvesCascade.Item(2).Color = "blue"
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
