Difference between revisions of "CAEngine::AddModule/zh"
(Created page with "CAEngine::AddModule") |
(Created page with "= 参 数 =") |
||
Line 8: | Line 8: | ||
no effect and should be set to True. The path is interpreted relative to the [[CurrentModelDirectory]]. | no effect and should be set to True. The path is interpreted relative to the [[CurrentModelDirectory]]. | ||
− | = | + | = 参 数 = |
;fileName:string | ;fileName:string |
Revision as of 10:04, 17 October 2015
ADE User Guide > ADE Server Class Reference > CAEngine
AddModule(fileName,merge)
Adds a module from file «fileName» into the CurrentModule. The merge parameter currently has no effect and should be set to True. The path is interpreted relative to the CurrentModelDirectory.
参 数
- fileName
- string
- merge
- Boolean
Return value
ModuleName – string
Usage
string modName = ade.AddModule ("C:\MYMOD\MYMOD.ANA", True);
API errors
- 39 – “Module could not be found”
Comments
Enable comment auto-refresher