DIAdem Help

Property: Width for PolarDifferentialDimension

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

Property: Width for PolarDifferentialDimension

Specifies the width of the upper and lower lines as a percentage of the minimum interval of the lines for the Differential curve type in a polar axis system in DIAdem REPORT. If these lines are very close in the middle of the circle, this interval is very small.

Object.Width
ObjectPolarDifferentialDimension
Object with this property
Object.WidthDouble with read and write access

The following example generates a polar axis system with a Differential type curve and specifies the offset and the width:

VBScriptPython

 

Dim oMyPolarAxisSystem, oMyPosition, oMyCurve, oMyShape
Call Data.Root.Clear()
Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","")
Call Report.NewLayout()
Set oMyPolarAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectPolarSystem,"MyPolarSystem")
Set oMyPosition = oMyPolarAxisSystem.Position.ByCoordinate
oMyPosition.X1 = 20
oMyPosition.Y1 = 20
oMyPosition.X2 = 80
oMyPosition.Y2 = 80
Set oMyCurve = oMyPolarAxisSystem.CurvesPolar.Add(ePolarShapeDifferential, "MyNewCurve")
Set oMyShape = oMyCurve.Shape
oMyShape.XChannel.Reference= "[5]/[1]"
oMyShape.YChannel.Reference = "[5]/[2]"
oMyShape.YChannelDifferential.Reference = "[5]/[3]"
oMyShape.DifferentialDimension.Offset = 10
oMyShape.DifferentialDimension.Width = 20
Call Report.Refresh()

Log in to get a better experience