淘宝官方店 推荐课程 在线工具 联系方式 关于我们 | |
微波射频仿真设计 Ansoft Designer 中文培训教程 | HFSS视频培训教程套装 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Script Guide > User Defined Solutions CommandsUser Defined Solution commands should be executed by the "UserDefinedSolutionModule" module.
Set oDesign = oProject.SetActiveDesign("TestDesign1") Set oModule = oDesign.GetModule("UserDefinedSolutionModule")
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", _
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |