AddWatershedMapXYZC

AddWatershedMapXYZC adds a new watershed map from a slice of a 3D grid. Returns a MapFrame object.

Syntax

object. AddWatershedMapXYZC( GridXYZCFileName, SliceZValue )

Parameter

Type

Description

GridXYZCFileName

String

required; This provides the path and file name of the 3D grid file.

SliceZValue

Double

required; The Z-value of the XYZC slice to use as the layer's surface

Example 1

This example creates a watershed map from the GoldConcentrationXYZC.vtk sample file.

'Create watershed map

Set MapFrame = Shapes.AddWatershedMapXYZC(GridXYZCFileName:=SurferApp.Path+"\Samples\demogrid.grd")

Used by: Shapes Collection