Object: 3DAxisList

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2012 Help
DIAdem 2014 Help
DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help

The 3DAxisList object provides the three axes of a 3D axis system in DIAdem REPORT.

The following example generates a 3D axis system with a surface display and specifies the labels for the three axes:

Dim oMy3DAxisSystem, oMy3DCurve, oMyPos, oMyXLabel, oMyYLabel, oMyZLabel
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 oMy3DCurve = oMy3DAxisSystem.Curves3D.Add(e3DShapeSurface, "MyNew3DCurve")
oMy3DCurve.Shape.XChannel.Reference = "[2]/[1]"
oMy3DCurve.Shape.YChannel.Reference = "[2]/[2]"
oMy3DCurve.Shape.ZChannel.Reference = "[2]/[3]"
oMy3DCurve.Shape.DataStructure = e3DDataStructureMatrix
Set oMyXLabel = oMy3DAxisSystem.AxisList.X.Label
oMyXLabel.Text = "This is the x-axis"
oMyXLabel.Font.Name = "Tahoma"
oMyXLabel.Font.Size = 5
Set oMyYLabel = oMy3DAxisSystem.AxisList.Y.Label
oMyYLabel.Text = "This is the y-axis"
oMyYLabel.Font.Name = "Tahoma"
oMyYLabel.Font.Size = 5
Set oMyZLabel = oMy3DAxisSystem.AxisList.Z.Label
oMyZLabel.Text = "This is the z-axis"
oMyZLabel.Font.Name = "Tahoma"
oMyZLabel.Font.Size = 5
Call Report.Refresh()

Properties

X | Y | Z

Returned From

3DAxisSystem.AxisList

WAS THIS ARTICLE HELPFUL?

Not Helpful