TestLattice

 

The TestLattice module is created with the CreateModule command. The properties of the TestLattice are altered with the ModifyModule command. This is similar to the Network | Data Source | TestLattice command.
 

This command replaces the SampleLattice automation command.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“Type”, “TestLattice”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “TestLattice”)

object.Option(“Option_Name”, “OptionValue”)

object.Do() or object.DoOnce()

 

Option Name

TestLatticeMethod

TestLatticeOutType

TestLatticeXMax

TestLatticeXMin

TestLatticeXNum

TestLatticeYMax

TestLatticeYMin

TestLatticeYNum

TestLatticeZMax

TestLatticeZMin

TestLatticeZNum

 

Example

This example shows how to create a test lattice.

 

Sub Main

 

  'Declares VoxlerApp as an object

  Dim VoxlerApp As Object

 

 'Creates an instance of the Voxler application object

 'and assigns it to the variable named "VoxlerApp"

  Set VoxlerApp = CreateObject("Voxler.Application")

 

 'Make Voxler visible

  VoxlerApp.Visible = True

 

 'Access CommandApi

  Set CommandApi = VoxlerApp.CommandApi

 

 'Create a new Voxler document

  CommandApi.Construct ("New")

  CommandApi.DoOnce()

 

 'Create a test lattice

  CommandApi.Construct ("CreateModule")

  CommandApi.Option("Type", "TestLattice")

  CommandApi.Option ("AutoConnect", "False")

  CommandApi.Do()

 

End Sub

 

Used by: CreateModule, ModifyModule

 

 

See Also

Automation Model