Object: SubCursor
- Updated2024-09-12
- 2 minute(s) read
(CoordinateWnd | Sheet) > Cursor > Object: SubCursor
Object: SubCursor
The SubCursor object provides access to additional cursor lines for the Cursor in DIAdem VIEW. Use the SubCursor object to specify the properties of the cursor lines.
The following example displays the number of and the distance of the cursor lines of the sideband cursor in the 2D axis system:
| VBScript | Python |
Dim oMySheet, oMyChart, oMyCurve, oMyObj Call View.NewLayout() Set oMySheet = View.ActiveSheet oMySheet.ActiveArea.DisplayObjType = "CurveChart2D" Set oMyChart = oMySheet.ActiveArea.DisplayObj Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]") Set oMyObj = oMySheet.ActiveArea oMyObj.DisplayObj.SubCursorType = eVIEWSubCursorTypeSideband Call MsgBoxDisp("Additional Cursor Lines: " & oMyObj.DisplayObj.SubCursor.Sidebands.Count _ & vbCrLf & "Cursor Line Interval: " & oMyObj.DisplayObj.SubCursor.Sidebands.Interval)
Properties
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