The Construct method tells Voxler which command to create. The Construct method is accessed from the CommandApi object.
The Construct method must be used in combination with the Option method and the Do or DoOnce method to create an object.
Syntax
object.Construct(“Construct_type”)
Construct Types
Example
This example demonstrates how to open an existing file using the Construct method.
CommandApi.Construct ("Open")
CommandApi.Option ("Path", VoxlerApp.Path+"\Samples\Gold (ScatterPlot).voxb")
CommandApi.DoOnce()
Used by: CommandApi object
See Also