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

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

 

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

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


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


Generating Reports and Postprocessing >
User Defined Outputs: Python Script API >
   Data Types Used in Python Script       


Data Types Used in Python Script

There are several types that need to be used while authoring the python script. Some of them are used to pass data from UI to python script and to provide interface for working with this data. Some are used to pass data from python script to UI.

To pass data from python script to UI the objects of the C# class must be created in python script using their C# constructors. Then they can be set as functions return values or set to the output parameters using their API.

Their API is described in this section.

Types Used During UDO Computation

There are 2 important types used in the UDO Compute function:

• IUDSInputData class - to get data from UI to python script

• IUDSOutputData class – to set data to UI after doing the necessary computations.

Understanding these two classes and their methods is critical to a correct implementation of the UDO Compute method.

 

IUDSInputData

GetDoubleProbeData(probeName)

GetSweepsDataForProbe(probeName, sweepName)

GetComplexProbeData(probeName)

GetSweepNamesForProbe(probeName)

GetRequiredQuantities()

GetVariableValues()

GetInterpolationOrdersData(probeName);

 

IUDSOutputData

SetSweepsData(sweepName, sweepData)

SetDoubleQuantityData(qtyName,qtyData)

SetComplexQuantityData(qtyName, qtyData)

 




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

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


 

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