DIAdem Help

Object: OrbitCurve

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

Object: OrbitCurve

The OrbitCurve object provides access to a curve in an orbit axis system in DIAdem VIEW. Use the OrbitCurve object to specify the curve properties.

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"