DIAdem Help

Object: DisplayObj

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

Object: DisplayObj

The DisplayObj object provides the display type for an area in DIAdem VIEW.

The DisplayObj object corresponds to one of the following objects:

Bode (IToBodeChartInt) Bode Axis System
Cascade (IToCascadeChartInt) Cascade display
ChannelTable (IToChannelTableInt) Channel table
Contour (IToContourChartInt) Contour display
CurveChart2D (ITo2DChartInt) 2D axis system
Dialog (IToSudDlgInt) Dialog box display
Map (IToMapDisplayInt) Map display
Orbit (IToOrbitChartInt) Orbit axis system
Picture (IToPictureInt) Graphic
Polar (IToPolarChartInt) Polar axis system
ShaftCenterline (IToShaftCenterlineChartInt) Shaft centerline axis system
TextBox (IToTextBoxInt) Textbox
Video (IToVideoInt) Video
BirdsEyeViewObject (IToBirdsEyeViewObjectInt) Bird's Eye View

The following example creates a 2D axis system with a curve:

VBScriptPython

 

Dim oMySheet, oMyChart, oMyCurve
Call Data.Root.Clear()
Call DataFileLoad("Example.tdm")
Call View.Sheets.RemoveAll()
Call View.NewLayout()
Set oMySheet = View.ActiveSheet
oMySheet.Name = "MySheet"
oMySheet.ActiveArea.DisplayObjType = "CurveChart2D"
Set oMyChart = oMySheet.ActiveArea.DisplayObj
Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]")

Properties

Area | ToolbarVisible