AddWireframeLayerXYZC

AddWireframeLayerXYZC adds a new 3D wireframe to a MapFrame object from a slice of a 3D grid. Returns a Wireframe object.

Syntax

object. AddWireframeLayerXYZC( Map, 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 demonstrates how to add a wireframe map layer named Wireframe to the existing map coordinate system named MapFrame from the 3D grid file named GoldConcentrationXYZC.vtk.

'declare Wireframe object and add a wireframe layer to the map

Dim Wireframe As Object

Set Wireframe = Shapes.AddWireframeLayerXYZC(Map:=MapFrame, _

GridXYZCFileName:=SurferApp.Path+"\Samples\GoldConcentrationXYZC.vtk", SliceZValue:=65)

Example 2

This script displays all the methods and properties in the Shapes collection.

Used by: Shapes collection

See Also

Wireframe Object