DIAdem Help

Object: 2DCurve

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

Object: 2DCurve

The 2DCurve object provides a curve in a 2D axis system in DIAdem VIEW. Use the Curve object to specify the curve properties.

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.NewLayout()
Set oMySheet = View.ActiveSheet
oMySheet.ActiveArea.DisplayObjType = "CurveChart2D"
Set oMyChart = View.ActiveSheet.ActiveArea.DisplayObj
Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]")