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

微波射频仿真设计   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 >
   Optional Functions in IDO Extension Abstract Class >
       Validate(List<string> errorStringList,           


Validate(List<string> errorStringList,

List<UDSProbeParams> udsProbParams,

IPropertyList propList,

List<UDSProbeParams> userSelectionForDynamicProbes)

• Purpose: This method is used to validate the user choices. The values of the properties entered, the probes etc. can be checked for suitability.

• Parameters:

• udsProbParams – C# list of UDSProbeParams objects.

• propList IPropertyList object.

• userSelectionForDynamicProbes – C# list of UDSProbeParams objects.

• errorStringList – C# list of python strings. Output parameter. Should be set only if validation failed; ignored if validation is successful. One error string should be set per each validation error.

• Returns: True on validation success, False on failure.

• Default implementation: always returns true.

Example:

def Validate(self, errorStringList,probeList,propList, dynamicProbes):

if probeList == None or probeList.Count == 0:

errorStringList.Add("Empty probe list")

return False

return True

 




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

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


 

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