Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > Automation > SimNew

SimNew

Declaration
Parameters
Return Value
Remarks
Example
See Also

Declaration

object.SimNew()
Top of page

Parameters

object
Required. Always the name of a R2DToo.FrontEnd object.
Top of page

Return Value

None. Top of page

Remarks

Creates a new simulation with the current parameter values. Waits until complete before returning.
Top of page

Example

' [VBScript] ' load Dim R2DToo Set R2DToo = Wscript.CreateObject("R2DToo.FrontEnd") ' first set model parameters R2DToo.SetParam "World Width", 128 R2DToo.SetParam "World Height", 128 ' then create new simulation R2DToo.SimNew() ' unload Set R2DToo = nothing
Top of page

See Also

SetParam.
Top of page
[Rik's Office Hours] [Contact Rik]
Last updated: Fri Apr 30 2004, 1:47pm