DIAdem Help

Collection: ShaftCenterlineCurves

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

Collection: ShaftCenterlineCurves

The ShaftCenterlineCurves object provides a collection of all Curves in a shaft centerline axis system in DIAdem VIEW. Use the ShaftCenterlineCurves collection to delete curves or to add new curves.

The following example creates a shaft centerline axis system with one curve:

VBScriptPython

 

Dim oMySheet, oMyObj
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 = "ShaftCenterline"
Set oMyObj = oMySheet.ActiveArea.DisplayObj
Call oMyObj.CurvesShaftCenterline.Add("[1]/[2]","[1]/[3]")
oMyObj.AxisLabeling = True
oMyObj.DateTimePreference = eDateTimePreferenceAbsolute

Properties

Count | CurrCurve | LeadingCurve