Difference between revisions of "CAEngine::CreateModel"

(Marked this version for translation)
 
Line 4: Line 4:
 
<translate>
 
<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>
 
</translate>

Latest revision as of 18:31, 15 June 2015

ADE User Guide > ADE Server Class Reference > CAEngine

Other languages:
English • ‎中文

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


You are not allowed to post comments.