DIAdem Help

Collection: OrbitCurves

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

Collection: OrbitCurves

The OrbitCurves object provides a collection of all Curves in an orbit axis system in DIAdem VIEW. Use the OrbitCurves collection to delete curves or to add new curves.

The following example creates an axis system with an orbit display and adds a graphic:

VBScriptPython

 

Dim oMySheet, oMyChart, oMyDecoPicture
Call Data.Root.Clear()
Call DataFileLoad(ProgramDrv & "Examples\Data\Sound & Vibration\RotatingShaftAnalysis_001.TDM")
Call View.Sheets.RemoveAll()
Call View.NewLayout()
Set oMySheet = View.ActiveSheet
oMySheet.ActiveArea.DisplayObjType = "Orbit"
Set oMyChart = oMySheet.ActiveArea.DisplayObj
Call oMyChart.CurvesOrbit.Add("[1]/[1]","[1]/[2]") 
Set oMyDecoPicture = oMyChart.Decorations.Add(eVIEWDecorationTypePicture,"DecoPicture")
oMyDecoPicture.FileName = ProgramDrv & "Examples/Documents/Example1.gif"

Properties

Count | CurrCurve | LeadingCurve

Returned From

Orbit.CurvesOrbit