Model Property

Model returns or sets the array of variogram component objects. Returns a variant.

Syntax

object.Model

object.Model = Model

Parameter

Type

Description

Model

Variant

required

Example 1

This example shows how to create an array of VarioComponent objects and then use them in an existing variogram.

' Get the Application object to access VarioComponent

Set SurferApp = plot.Application

 

'Create two VarioComponent objects and store them in an array

Dim components(1 To 2) As Object

Set components(1) = SurferApp.NewVarioComponent(srfVarNugget,40,0)

Set components(2) = SurferApp.NewVarioComponent(srfVarWave,200,0.75)

 

'Change the default linear variogram by using the array

'of VarioComponent objects.

Variogram.Model = components

Example 2

This script displays all the methods and properties in the Variogram object.

Used by: Variogram object