DIAdem Help

Object: 3DBarFilling

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

Object: 3DBarFilling

The 3DBarFilling object provides the properties of a bar display in a 3D axis system in DIAdem REPORT.

The following example generates a 3D axis system with a filled bar display:

VBScriptPython

 

Dim oMy3DAxisSystem, oMyCurve, oMyPos, oMyShape, oMySettings, oMyFilling
Call Data.Root.Clear()
Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","")
Call Report.NewLayout()
Set oMy3DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject3DAxisSystem, "My3DAxisSystem")
Set oMyPos = oMy3DAxisSystem.Position.ByCoordinate
oMyPos.X1 = 20
oMyPos.X2 = 80
oMyPos.Y1 = 20
oMyPos.Y2 = 80
Set oMyCurve = oMy3DAxisSystem.Curves3D.Add(e3DShapeBars, "MyCurve")
Set oMyShape = oMyCurve.Shape
oMyShape.XChannel.Reference = "[2]/[1]" 
oMyShape.YChannel.Reference = "[2]/[2]"
oMyShape.ZChannel.Reference = "[2]/[3]"
Set oMySettings = oMyShape.Settings
oMySettings.Line.Color.SetPredefinedColor(ePredefinedColorGreen)
Set oMyFilling = oMySettings.Filling
oMyFilling.Enable = TRUE
Call oMyFilling.EdgeColor.SetPredefinedColor(eColorIndexDarkRed)
Call Report.Refresh()

Properties

EdgeColor | Enable