DIAdem Help

Property: PhaseEnd for Bode

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

Property: PhaseEnd for Bode

Returns the end of the value range of the phase axis in a Bode axis system in DIAdem VIEW.

Object.PhaseEnd
ObjectBode
Object with this property
Object.PhaseEndDouble with read access.

The following example outputs a message which displays the value ranges of the abscissa, phase, and amplitude axis system in a Bode axis system. The DisplayObj must be a Bode type:

VBScriptPython

 

If View.ActiveSheet.ActiveArea.DisplayObjType = "Bode" Then
  Dim oMyChart: Set oMyChart = View.ActiveSheet.ActiveArea.DisplayObj
  Call MsgBoxDisp("XBegin: " & oMyChart.XBegin & vbCRLF & "XEnd: " & oMyChart.XEnd & vbCRLF &_
                  "PhaseBegin: " & oMyChart.PhaseBegin & vbCRLF & "PhaseEnd: " & oMyChart.PhaseEnd & vbCRLF &_
                  "AmplitudeBegin: " & oMyChart.AmplitudeBegin & vbCRLF & "AmplitudeEnd: " & oMyChart.AmplitudeEnd)
Else
  Call MsgBoxDisp("No Bode area")
End If