zMax Property

zMax returns or sets the maximum Z coordinate of the grid. Returns a double.

Syntax

object.zMax

object. zMax = zMax

Parameter

Type

Description

zMax

Double

required

Example 1

This example demonstrates how to return the maximum Z coordinate of a grid.

Debug.Print Grid.zMax

Example 2

This example demonstrates how to set the maximum Z value of a grid to 100.

Grid.zMax = 100

Used by: Grid object , GridXYZC object