Object: 3DPlaneGridXZ
- Updated2024-09-12
- 1 minute(s) read
(ReportObjects | SelectedObjects) > 3DAxisSystem > 3DAxisSettings > 3DPlaneXZ > Object: 3DPlaneGridXZ
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:
| VBScript | Python |
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)