Difference between revisions of "CAEngine::CurrentModule/zh"

(Created page with "= 描述 =")
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<languages />
 
<languages />
[[Category:ADE User Guide]]
+
[[Category:ADE User Guide | 目录:ADE用户指南]]
[[ADE User Guide]] > [[ADE Server Class Reference]] > [[CAEngine]]
+
[[ADE User Guide/zh |  ADE用户指南]] > [[ADE Server Class Reference/zh | ADE类型参考]] > [[CAEngine/zh | CAEngine]]
  
 
= 描述 =
 
= 描述 =
  
The currently open module.
+
当前打开的模块
  
= Data type =
+
= 数据类型 =
  
[[CAObject]]
+
[[CAObject/zh | CAObject]]
  
= Access =
+
= 存取 =
  
read/write property
+
/写属性
  
= Example Usage =
+
= 示例用法 =
  
 
  Dim Obj As Object
 
  Dim Obj As Object
 
  Set Obj = ADE.CurrentModule
 
  Set Obj = ADE.CurrentModule
  
= Remarks =
+
= 说明 =
  
Newly created objects are placed into [[CurrentModule]]; so, you should set [[CurrentModule]] before
+
新建立的对象放在[[CAEngine::CurrentModule/zh | CurrentModule]]中;一次,在建立任何新对象钱,你应该设定[[CAEngine::CurrentModule/zh | CurrentModule]]。设置:<code>[[CAEngine::CurrentModule/zh | CurrentModule]] = Nothing</code>表示没有模块打开,所有新对象都在顶层模块或者当前已经打开的模型中建立。
creating any new objects. Setting <code>[[CurrentModule]] = Nothing</code> 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 =
+
= API 错误 =
  
* 44 – “Module could not be set”
+
* 44 – “模块不能设定”

Latest revision as of 06:52, 25 October 2015

Other languages:
English • ‎中文

ADE用户指南 > ADE类型参考 > CAEngine

描述

当前打开的模块

数据类型

CAObject

存取

读/写属性

示例用法

Dim Obj As Object
Set Obj = ADE.CurrentModule

说明

新建立的对象放在 CurrentModule中;一次,在建立任何新对象钱,你应该设定 CurrentModule。设置: CurrentModule = Nothing表示没有模块打开,所有新对象都在顶层模块或者当前已经打开的模型中建立。

API 错误

  • 44 – “模块不能设定”
Comments


You are not allowed to post comments.