Difference between revisions of "CAEngine::CreateModel"
(Created page with '<< class CAEngine = CreateModel(modelName) = Creates a new Analytica model with identifier «modelName». = Parameters = ;modelName: string - a valid Analytica i…') |
(Marked this version for translation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[CAEngine | + | [[Category:ADE User Guide]] |
+ | [[ADE User Guide]] > [[ADE Server Class Reference]] > [[CAEngine]] | ||
+ | <languages /> | ||
+ | <translate> | ||
− | = CreateModel(modelName) = | + | = CreateModel(modelName) = <!--T:1--> |
+ | <!--T:2--> | ||
Creates a new Analytica model with identifier «modelName». | Creates a new Analytica model with identifier «modelName». | ||
− | = Parameters = | + | = Parameters = <!--T:3--> |
+ | <!--T:4--> | ||
;modelName: string - a valid Analytica identifier. | ;modelName: string - a valid Analytica identifier. | ||
− | = Return value = | + | = Return value = <!--T:5--> |
+ | <!--T:6--> | ||
Boolean (success or failure) | Boolean (success or failure) | ||
− | = Example Usage = | + | = Example Usage = <!--T:7--> |
− | bool success = ADE.CreateModel ("MyNewModel"); | + | <!--T:8--> |
+ | bool success = ADE.CreateModel ("MyNewModel"); | ||
− | = API errors = | + | = API errors = <!--T:9--> |
+ | <!--T:10--> | ||
* 45 – “Model could not be created” | * 45 – “Model could not be created” | ||
+ | </translate> |
Latest revision as of 18:31, 15 June 2015
ADE User Guide > ADE Server Class Reference > CAEngine
CreateModel(modelName)
Creates a new Analytica model with identifier «modelName».
Parameters
- modelName
- string - a valid Analytica identifier.
Return value
Boolean (success or failure)
Example Usage
bool success = ADE.CreateModel ("MyNewModel");
API errors
- 45 – “Model could not be created”
Comments
Enable comment auto-refresher