Object: 3DPlaneGridXY
- Updated2024-09-12
- 1 minute(s) read
(ReportObjects | SelectedObjects) > 3DAxisSystem > 3DAxisSettings > 3DPlaneXY > Object: 3DPlaneGridXY
Object: 3DPlaneGridXY
The 3DPlaneGridXY object provides the properties of the gridlines of the xy-plane in a 3D axis system in DIAdem REPORT.
The following example creates a 3D axis system which contains red x gridlines and blue y gridlines on the xy plane:
| VBScript | Python |
Dim oMy3DaxisSystem, o3DPlaneXY, o3DPlaneGridXY, oFullFeaturedLine Call Report.NewLayout Set oMy3DaxisSystem = Report.ActiveSheet.Objects.Add(eReportObject3DAxisSystem,"My3DAxisSystem") Set o3DPlaneXY = oMy3DaxisSystem.Settings.PlaneXY o3DPlaneXY.Type = e3DPlaneXYTypeXYGrid Set o3DPlaneGridXY = o3DPlaneXY.Grid Set oFullFeaturedLine = o3DPlaneGridXZ.LineX oFullFeaturedLine.LineType = eLineTypeSolid Call oFullFeaturedLine.Color.SetPredefinedColor(eColorIndexRed) Set oFullFeaturedLine = o3DPlaneGridXZ.LineY oFullFeaturedLine.LineType = eLineTypeSolid Call oFullFeaturedLine.Color.SetPredefinedColor(eColorIndexBlue)