Difference between revisions of "CAEngine::CurrentModule"

(Created page with '<< class CAEngine = Description = The currently open module. = Data type = CAObject = Access = read/write property = Example Usage = Dim Obj As Object …')
 
Line 1: Line 1:
[[CAEngine|<< class CAEngine]]
+
<languages />
 +
<translate>
 +
[[Category:ADE User Guide]]
 +
[[ADE User Guide]] > [[ADE Server Class Reference]] > [[CAEngine]]
  
 
= Description =
 
= Description =
Line 26: Line 29:
  
 
* 44 – “Module could not be set”
 
* 44 – “Module could not be set”
 +
</translate>

Revision as of 22:37, 10 June 2015

Other languages:
English • ‎中文

ADE User Guide > ADE Server Class Reference > CAEngine

Description

The currently open module.

Data type

CAObject

Access

read/write property

Example Usage

Dim Obj As Object
Set Obj = ADE.CurrentModule

Remarks

Newly created objects are placed into CurrentModule; so, you should set CurrentModule before creating any new objects. Setting CurrentModule = Nothing means that no module is open,so all new objects are created in the top-level Module or Model of the currently opened model.

API errors

  • 44 – “Module could not be set”
Comments


You are not allowed to post comments.