DIAdem Help

Collection: Sidebands

  • Updated2024-09-12
  • 2 minute(s) read

Collection: Sidebands

The Sidebands object provides a collection of cursor lines of a Sideband cursor in a 2D axis system in DIAdem VIEW. The sidebands collection provides the coordinates, the distance, and the number of additional cursor lines.

The following example displays the number of and the distance of the cursor lines of the sideband cursor in a 2D axis system:

VBScriptPython

 

Dim oMySheet, oMyChart, oMyCurve, oMyObj, oMySubCursor
Call View.NewLayout()
Set oMySheet = View.ActiveSheet
oMySheet.ActiveArea.DisplayObjType = "CurveChart2D"
Set oMyChart = View.ActiveSheet.ActiveArea.DisplayObj
Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]")
Set oMyObj = oMySheet.ActiveArea
oMyObj.DisplayObj.SubCursorType = eVIEWSubCursorTypeSideband
Set oMySubCursor = oMySheet.ActiveArea.DisplayObj.SubCursor.Sidebands 
Call MsgBoxDisp("Additional Cursor Lines: " & oMySubCursor.Count & vbCrLf & "Cursor Line Interval: " & oMySubCursor.Interval)

Properties

Count | Interval

Methods

Item

Returned From

SidebandCursor.Sidebands