DIAdem Help

Object: Column

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

Object: Column

The Column object provides a column in a channel table in DIAdem VIEW. Use the Column object to specify information about this column.

The following example assigns the same format to all the columns in a channel table.

VBScriptPython

 

Dim oMySheet, oMyChart, oColumn
Call View.Sheets.RemoveAll()
Call View.NewLayout()
Set oMySheet = View.ActiveSheet
oMySheet.Name = "MySheet"
oMySheet.ActiveArea.DisplayObjType = "ChannelTable" 
Set oMyChart = oMySheet.ActiveArea.DisplayObj
Call oMyChart.Columns.Add("[1]/[1]")
Call oMyChart.Columns.Add("[1]/[2]")
For Each oColumn in oMyChart.Columns
  oColumn.Format = "d.dd"
Next