AddWireframeMapXYZC
AddWireframeXYZC adds a new 3D wireframe from a slice of a 3D grid. Returns a MapFrame object.
Syntax
object.AddWireframeMapXYZC(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 create a map coordinate system named MapFrame followed by its corresponding 3D wireframe named 3D Wireframe from the 3D grid file named GoldConcentrationXYZC.vt.
'declare MapFrame object and create a 3D wireframe map
Dim MapFrame As Object
Set MapFrame = Shapes.AddWireframeMapXYZC(GridXYZCFileName:=SurferApp.Path+"\Samples\GoldConcentrationXYZC.vtk", SliceZValue:=65)
'declare Wireframe object and set the reference to the 3D wireframe
Dim Wireframe As Object
Set Wireframe = MapFrame.Overlays(1)
Example 2
This script displays all the methods and properties in the Shapes collection.
Used by: Shapes collection