DIAdem Help

Method: Add for OrbitCurves

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

Method: Add for OrbitCurves

Adds an object to the OrbitCurves collection and returns an OrbitCurve object in the script interface of DIAdem VIEW.

Set oOrbitCurve = Object.Add(XNameOrNo, YNameOrNo)
ObjectOrbitCurves
Object with this method
XNameOrNoVariant
Specifies the name or the number of the x-channel to be displayed.
YNameOrNoVariant
Specifies the name or the number of the y-channel to be displayed.
oOrbitCurveOrbitCurve
Returned object

The following example creates a new worksheet containing an Orbit axis system with a curve:

VBScriptPython

 

Call View.Sheets.RemoveAll
Dim oMySheet: Set oMySheet = View.Sheets.Add("NewSheet") 
oMySheet.ActiveArea.DisplayObjType = "Orbit" 
Call oMySheet.ActiveArea.DisplayObj.CurvesOrbit.Add("[1]/[1]","[1]/[2]")