![]() ![]() ![]() ![]() ![]() |
|
微波射频仿真设计 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Script Guide > CreateOutputVariableUse: Creates a new output variable. Output variables are associated with a name and an expression. The name of an output variable is not permitted to collide with design variables, Sim values, or other output variable names. It cannot have spaces or any arithmetic or other operators. The definitions can not be cyclic. For example, A = 2*B, B=3*A is not allowed. Command: None Syntax: CreateOutputVariable “<varName>”, <Expression>, <SolutionName>, <SolutionType>, <Domain> Return Value: None Parameters: <VarName> Type: <string> Name of the output variable.
<Expression> Type: <value> Value to assign to the variable.
<SolutionName> Type: <string> Name of the solution as listed in the output variable UI. For example: "Setup1 : Last Adaptive"
<ReportTypeName> Type: <string> The name of the report type as seen in the output variable UI.
<SimValueContext> Type: <variant> Context for which the output variable expression is being evaluated. For more information see SimValueContext.
Example: Set oModule = oDesign.GetModule("OutputVariable") oModule.CreateOutputVariable "test","mag(S(WavePort1,WavePort1))", _ "Setup1 : LastAdaptive ", "Modal Solution Data", Array("Domain:=", _ "Sweep")
oModule.CreateOutputVariable "Var_" & OutputQuantity,_ OutputQuantity, Solution, "Far Fields", _ Array("Context:=", InfiniteSphere, "Domain:=", "Sweep")
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |