淘宝官方店 推荐课程 在线工具 联系方式 关于我们 | |
微波射频仿真设计 Ansoft Designer 中文培训教程 | HFSS视频培训教程套装 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Script Guide > UpdateTracesUse: Update the traces in a report for which traces are not automatically updated by the Report Traces dialog, Update Report, Real Time selection. Command: Report dialogue, Apply Traces button Syntax: UpdateTraces “<plotName>” Array(“<TraceDef>”) Array() Return Value: None Parameters: <ReportName> Type: <string> Name of Report.
<SolutionName> Type: <string> Name of the solution as listed in the Modify Report dialog box. For example: "Setup1 : Last Adaptive"
<ContextArray> Type: Array of strings Context for which the expression is being evaluated. This can be an empty string if there is no context. Array(“Domain:=”, <DomainType>) <DomainType> ex. “Sweep” or “Time”
Array(“Context:=”, <SimValueContext>) Context for the trace. For more information see SimValueContext.
<FamiliesArray> Type: Array of strings Contains sweep definitions for the report. Array(“<VariableName>:= “, <ValueArray>)
<ValueArray> Array(“All”) or Array(“Value1”, “Value2”, ...”Valuen”) examples of <VariableName> “Freq”, “Theta”, “Distance”
<ReportDataArray> Type: Array of strings This array contains the report quantity and X, Y, and (Z) axis definitions. Array(“X Component:=”, <VariableName>, “Y Component:=”, <VariableName> | <ReportQuantityArray>)
<ReportQuantityArray> ex. Array(“dB(S(Port1, Port1))”) Array() Type: Empty array. Denotes the end of the UpdateTraces command.
Example: Set oModule = oDesign.GetModule("ReportSetup") oModule.UpdateTraces "XY Plot1", _ Array("dB(S(WavePort1,WavePort1))"), _ "Setup1 : Sweep1", _ Array("Domain:=", "Sweep"), _ Array("Freq:=", Array("All")), _ Array("X Component:=", "Freq", _ "Y Component:=", Array("dB(S(WavePort1,WavePort1))")), _ Array()
Example: oModule.UpdateTraces "XY Plot 1", Array("dB(S(WavePort1,WavePort1))"), _ "Setup1 : Sweep1", _ Array("Domain:=", "Time", "HoldTime:=", 1, _ "RiseTime:=", 0, "StepTime:=", 0, "Step:=", false, _ "WindowWidth:=", 1, _ "WindowType:=", 0, "KaiserParameter:=", 1, _ "MaximumTime:=", 0), _ Array("Time:=", Array("All")), _ Array("X Component:=", "Time", _ "Y Component:=", Array("dB(S(WavePort1,WavePort1))")), _ Array()
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |