The IsosurfaceComputeVolume option turns on the option to calculate the volume for an isosurface. The OptionValue is True or False. True checks the box in the Property Manager to calculate the volume and False unchecks the box.
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(“IsosurfaceComputeVolume”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example calculates the volume of the isosurface.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Isosurface")
CommandApi.Option ("IsosurfaceComputeVolume", "True")
CommandApi.Do()
Used by: Isosurface
See Also