DIAdem Help

Object: 3DPlaneGridXZ

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

Object: 3DPlaneGridXZ

The 3DPlaneGridXZ object provides the properties of the gridlines of the xz-plane in a 3D axis system in DIAdem REPORT.

The following example creates a 3D axis system which contains red x gridlines and blue z gridlines on the xz plane:

VBScriptPython

 


Dim oMy3DaxisSystem, o3DPlaneYZ, o3DPlaneGridYZ, oFullFeaturedLine
Call Report.NewLayout
Set oMy3DaxisSystem = Report.ActiveSheet.Objects.Add(eReportObject3DAxisSystem,"My3DAxisSystem")
Set o3DPlaneYZ = oMy3DaxisSystem.Settings.PlaneYZ
o3DPlaneYZ.Type = e3DPlaneYZTypeYZGrid

Set o3DPlaneGridYZ = o3DPlaneYZ.Grid
Set oFullFeaturedLine = o3DPlaneGridYZ.LineY
oFullFeaturedLine.LineType = eLineTypeSolid
Call oFullFeaturedLine.Color.SetPredefinedColor(eColorIndexRed)

Set oFullFeaturedLine = o3DPlaneGridYZ.LineZ
oFullFeaturedLine.LineType = eLineTypeSolid
Call oFullFeaturedLine.Color.SetPredefinedColor(eColorIndexBlue)

Properties

LineX | LineZ

Returned From

3DPlaneXZ.Grid