OpenModel Method

Top  Previous  Next

Syntax:

 

value=object.OpenModel(model_path)

 

 

Part

Description

value

A variant variable in the user program which receives the value returned after OpenModel executes.

object

The name of an object (or object expression) that evaluates to an object of ChaosHunter_Runtime.DLL class.

model_path

A string type variable which specifies the full path to the model.

 

Opens the model and reads it into the object's memory.

 

Returned values are:

0=no error

1=not a valid ChaosHunter model file

2=file not found