DIAdem Help

Method: Item for OrbitCurves

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

Method: Item for OrbitCurves

Returns the Curve object associated with a specific name or index in DIAdem VIEW.

Set oOrbitCurve = Object.Item(NameOrIndex)
ObjectOrbitCurves
Object with this method
NameOrIndexVariant
Specifies the name or the index of the curve.
oOrbitCurveOrbitCurve
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 an Orbit type:

VBScriptPython

 

Call MsgBoxDisp("Name of first x-channel: " & View.ActiveSheet.ActiveArea.DisplayObj.CurvesOrbit.Item(1).XChannelName)
Call MsgBoxDisp("Name of first x-channel: " & View.ActiveSheet.ActiveArea.DisplayObj.CurvesOrbit(1).XChannelName)