淘宝官方店     推荐课程     在线工具     联系方式     关于我们  
 
 

微波射频仿真设计   Ansoft Designer 中文培训教程   |   HFSS视频培训教程套装

 

Agilent ADS 视频培训教程   |   CST微波工作室视频教程   |   AWR Microwave Office

          首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档


Ansoft Designer / Ansys Designer 在线帮助文档:


Script Guide >
Desktop Scripting with IronPython >
   Translating Script commands from VBScript to IronPython >
       Script Method Argument           


Script Method Argument

Script method calls in VBscript are described later in this document, they generally take the form:

objectName . methodName ( arg1, arg2, ..)

The function call syntax is a standard followed by several programming languages, however, the argument types in VBScript objects, when used for product scripting, are restricted to the following

Primitive types

Named Array

Named Function

Primitive Types

Primitive types are the standard bool, int, float, double and string

Named Array

Named arrays are a special construct used very commonly and can be found in practically every recorded script sample.

It starts with Array( “NAME:someName” and is followed by a collection of comma separated values which can be:

•  A primitive value

•  An array of primitive values

•  Another named array

•  A key, of the form “keyName:=” followed by

•  A primitive value

•  A function (described next)

 

Named Function

Named functions are arrays which start with Array( and do not have a leading “NAME:name” item. They are always introduced by a key and can contain comma separated values of the following type:

•  A primitive value

•  A key (of the form “keyName:=”) followed by

•  A primitive value

•  Another function (nested function)

Related Topics

Translating Script commands from VBScript to IronPython

 




HFSS视频教学培训教程 ADS2011视频培训教程 CST微波工作室教程 Ansoft Designer 教程

                HFSS视频教程                                      ADS视频教程                               CST视频教程                           Ansoft Designer 中文教程


 

      Copyright © 2006 - 2013   微波EDA网, All Rights Reserved    业务联系:mweda@163.com