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

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

 

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

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


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


Script Guide >
User Defined Solutions Commands   


User Defined Solutions Commands

User Defined Solution commands should be executed by the "UserDefinedSolutionModule" module.

 

Set oDesign = oProject.SetActiveDesign("TestDesign1")

Set oModule =

oDesign.GetModule("UserDefinedSolutionModule")

 

CreateUserDefinedSolution

DeleteUserDefinedSolutions

EditUserDefinedSolution

CreateUserDefinedSolution

Use:                   Creates a new user defined solution.

Command:         Create User Defined Solution popup menu is available in the Result folder context menu when applicable.

Syntax:              CreateUserDefinedSolution <SolutionName>, <PluginFileLocation>, <PluginFileRelativePathName>, <PropertyValuesArray>, <ProbeSelectionArray>, <DynamicProbesArray>

Return Value:    The name of the user defined solution that was created. Note: if the requested user defined solution name is not available because it is already in use, the user defined solution will be created with a different name which will be returned.

Parameters:      <SolutionName>

                           Type: String

                           Requested name of new user defined solution.

                           

<PluginFileLocation>

                           Type: String

                          Indicates the library where the UDS plugin file is located. This parameter must be one of the following values: "SysLib", "UserLib", "PersonalLib".

<PluginFileRelativePathName>

                           Type: String

                          The path of the UDS plugin file relative to the "UserDefinedOutputs"subdirectory of the library specified by <PluginFileLocation>.

<PropertyValuesArray>

                          Type: Array of strings

                          Strings specify name-value pairs corresponding to the UDS properties specified in the plugin file.

For example:

   Array("multiply_factor:=", "2.0", "component_name:=", "resistor1")

    

<ProbeSelectionArray>

                           Type: Array of <ProbeSelection>'s (see below)

                          The probe specification array specifies how UDS probes are defined and mapped to traces in the design.

<ProbeSelection>

                          Type: Array of strings representing how a single probe is defined by a trace. The array contains the below items:

<ReportType>

                           Type: String

                          See the CreateReport command for more information.

<ProbeName>

                           Type: String

                          Name of the probe being specified. Note: this must match a probe name specified in the UDS plugin file.

<SolutionName>

                           Type: String

                          See the CreateReport command for more information.

<SimulatedValueContexArray>

                           Type: Array of strings

                          See the CreateReport command for more information.

<PointSetDefinitionArray>

                          Type: Array of values with optional overriding values and optional

                           variable values.

                          See the CreateReport command for more information.

<TraceExpressionArray>

                           Type: Array of strings and values.

                          This is similar to the TracesExpressionsArray used in the CreateReport command, but there will only be a single component expression named "Probe Component." See the CreateReport command for more information.

<ExtendedTraceInformationArray>

                           Type: Array of strings and values

                          See the CreateReport command for more information.

<DynamicProbesArray>

                          Type: Array of <ProbeSelection>'s, representing the probes that are used by dynamic-probes.

Example:            

   oModule.CreateUserDefinedSolution "User Defined Solution 1", _
"SysLib", "Example",
Array("multiplication_factor:=", "1.2"),
Array(Array("Modal Solution Data",
"Probe 1", "Setup1 : LastAdaptive",
Array(),
Array("Freq:=", Array( "All")),
Array("Probe Component:=", Array("dB(S(1,1))")), Array()),
Array( "Modal Solution Data", "Probe 2",
"Setup1 : LastAdaptive", Array(),
Array("Freq:=", Array( "All")),
Array("Probe Component:=", Array("mag(S(1,1))")), Array())), Array(Array( "Modal Solution Data",
"Dynamic Probe 1", "Setup1 : LastAdaptive", Array(),
Array("Freq:=", Array( "All")),
Array("Probe Component:=", Array("Freq")), Array()))

 




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

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


 

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