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

(Created page with "= 示例用法 =")
(Created page with "= 说明 =")
Line 20: Line 20:
 
  Set Obj = ADE.CurrentModule
 
  Set Obj = ADE.CurrentModule
  
= Remarks =
+
= 说明 =
  
 
Newly created objects are placed into [[CurrentModule]]; so, you should set [[CurrentModule]] before
 
Newly created objects are placed into [[CurrentModule]]; so, you should set [[CurrentModule]] before

Revision as of 10:08, 18 October 2015

Other languages:
English • ‎中文

ADE User Guide > ADE Server Class Reference > CAEngine

描述

当前打开的模块

数据类型

CAObject

访问

读/写属性

示例用法

Dim Obj As Object
Set Obj = ADE.CurrentModule

说明

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.