StreamLines

 

The StreamLines module is created with the CreateModule command by setting the Type to StreamLines. The properties of the StreamLines are altered with the ModifyModule command. This is similar to the Network | Graphics Output | StreamLines command.

 

Module Type

StreamLines

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Option Name

StreamLinesStreamMethod

StreamLinesAutoStep

StreamLinesStepSize

StreamLinesNumSteps

StreamLinesPointSize

StreamLinesSphereSize

StreamLinesSphereQuality

StreamLinesLineWidth

StreamLinesDirection

StreamLinesMinVelocity

StreamLinesColorMethod

StreamLinesColor

StreamLinesColormap

StreamLinesSeedMethod

StreamLinesNumSeeds

StreamLinesXNormal

StreamLinesYNormal

StreamLinesZNormal

StreamLinesXPos

StreamLinesYPos

StreamLinesZPos

StreamLinesXScale

StreamLinesYScale

StreamLinesShowDragger

StreamLinesResetDragger

StreamLinesLabelFormatType

StreamLinesLabelFormatNumDigits

StreamLinesLabelFormatPrefix

StreamLinesLabelFormatPostfix

StreamLinesLegendEnable

StreamLinesLegendOrientation

StreamLinesLegendXPos

StreamLinesLegendYPos

StreamLinesLegendWidth

StreamLinesLegendLength

StreamLinesLegendTitle

StreamLinesLegendTitleHeight

StreamLinesLegendNumLabels

StreamLinesLegendUseCustomLabels

StreamLinesLegendCustomLabels

StreamLinesLegendLabelHeight

StreamLinesLegendFont

StreamLinesLegendAntialias

StreamLinesLegendFGColor

StreamLinesLegendBGColor

StreamLinesLegendShowBackground

 

Example

This example shows how to create a test lattice and add a Streamlines module to it.

 

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()

 

 'Load the test lattice

  CommandApi.Construct("CreateModule")

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

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

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

  CommandApi.Do()

 

 'Add a streamlines module

  CommandApi.Construct("CreateModule")

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

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

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

  CommandApi.Do()

End Sub

 

Used by: CommandApi object, CreateModule, ModifyModule

 

 

See Also

Automation Model

Automation Example - StreamLines