LatticeFilter

 

The LatticeFilter module is created with the CreateModule command by setting the Type to Filter. The properties of the FunctionLattice are altered with the ModifyModule command. This is similar to the Network | Computational | Filter command.

 

Module Type

Filter

 

Syntax

object.Construct(“CreateModule”)

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Option Name

LatticeFilterFilter

LatticeFilterOrientation

LatticeFilterEdge

LatticeFilterEdgeValue

LatticeFilterBlank

LatticeFilterBlankValue

LatticeFilterKernelSize

LatticeFilterParam0

LatticeFilterParam1

LatticeFilterComp1

LatticeFilterComp2

LatticeFilterComp3

LatticeFilterComp4

LatticeFilterComp5

LatticeFilterComp6

LatticeFilterComp7

LatticeFilterComp8

LatticeFilterComp9

LatticeFilterComp10

LatticeFilterComp11

LatticeFilterComp12

LatticeFilterComp13

LatticeFilterComp14

LatticeFilterComp15

LatticeFilterComp16

LatticeFilterComp17

LatticeFilterComp18

LatticeFilterComp19

LatticeFilterComp20

 

Example

This example shows how to create a filter for a 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()

 

 'Add a filter to the test lattice

  CommandApi.Construct ("CreateModule")

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

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

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

  CommandApi.Do()

 

End Sub

 

Used by: CreateModule, ModifyModule

 

 

See Also

Automation Model

Automation Example - LatticeFilter