IsosurfaceDrawstyle Option

 

The IsosurfaceDrawstyle option changes the drawing style of the isosurface in the Viewer window. The OptionValue is either 0, 1, or 2.  0 tells Voxler to draw the isosurface as shaded. 1 is to draw the isosurface as lines. 2 is to draw the isosurface as points.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example changes the isosurface drawing style to lines.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Isosurface")

  CommandApi.Option ("IsosurfaceDrawstyle", "1")

  CommandApi.Do()

 

Used by: Isosurface

 

 

See Also

Automation Model