The Do method tells Voxler to do the action listed in the Construct method. The Do method is accessed from the CommandApi object. When the Do method is used, the command is added to the Edit | Undo list in Voxler.
The Do method must be used in combination with the Construct method and the Option method to create an object.
Syntax
object.Do()
Example
This example demonstrates how to edit a Scatterplot module’s color map properties using the Do method. The Scatterplot color map change is added to the Edit | Undo list.
'Change color of scatter plot symbols
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "ScatterPlot")
CommandApi.Option ("ScatterPlotColormap","Terrain")
CommandApi.Do()
Used by: CommandApi object
See Also