DIAdem Help

Property: Index for WaterfallCurve

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

Property: Index for WaterfallCurve

Returns the index of a waterfall curve in a cascade display in DIAdem VIEW. The waterfall curve must always be the first curve in the cascade display.

Object.Index
ObjectWaterfallCurve
Object with this property
Object.IndexLongInteger with read access

The following example adds a curve to a cascade display and outputs a message which displays the index of this curve.

VBScriptPython

 

Call Data.Root.Clear()
Call DataFileLoad(ProgramDrv & "Examples\Data\cascade.tdm","TDM","")
Dim oMyDisplayObj, oMyCascadeCurve
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]")
Call MsgBoxDisp("Index of NewCurve: " & oMyCascadeCurve.Index)