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

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

 

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

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


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


Getting Started with Ansoft Designer >
Introduction  >
   Running Designer From the Command Line       


Running Designer From the Command Line

When launched from the command line, Designer and Nexxim possess a number of options that may be specified. Please note that all command-line options and arguments are case-insensitive.

 

Command-line syntax

designer <options> <run command> <project name/script name>

 

Run Commands

Of the following run commands — BatchSave, BatchSolve, RunScript, RunScriptandExit — only one of these, or none at all, must be used when launching Designer/Nexxim from the command line.

 

-BatchSave <project file name>

Save project file name to the current version of Nexxim/Designer. Primarily used for converting version 3 projects to version 4 projects (which must be done using Windows before those projects can run on a Linux system). You can run BatchSave with the following options: -Iconic,
-
Logfile, and -ng (no graphics).

 

-BatchSolve

By default, solve all adaptive setups, sweeps, as well as Optimetrics setups found in the project file. If parallel solve is possible, you can use the
-Distribute option in conjunction with -BatchSolve. You can run this command with the -Iconic option, the -Logfile option, the - ng option (no graphics), and the -WaitForLicense option.

Additional parameters for batch solves include the following:

[designName] - batch solve all setups for design with the name given under the project.

[designName]:Nominal - batch solve all nominal setups for design with the name given under the project.

[designName]:Optimetrics - batch solve all Optimetrics setups for design with the name given under the project.

[designName]:Nominal:[setupname] - batch solve the specified nominal setup for design with the name given under the project. The setupname is case insensitive.

[designName]:Optimetrics:[setupname] - batch solve the specified Optimetrics setup for design with the name given under the project.The setupname is case insensitive.

 

-Local | -Remote | -Distribute

Perform the -Batchsolve on a local machine, a remote machine, or as a distributed solve using a specified machine list (see below). The settings persist only for the current session.

-MachineList list =“<machine1>, <machine2>, ...”

-MachineList file =“<machine list file path>”

Either form of the MachineList option can be used to indicate the machine(s) on which to run a distributed batchsolve. The settings persist only for the current session.

 

Example: C:\Designer\Designer.exe -distributed -machinelist list="192.168.1.1,192.168.1.2" -batchsolve design_transient:Optimetrics "C:\distrib_project.adsn"

 

When using a file to define the machine available for a distributed solve, the machine addresses/names should be listed on separate lines:

192.168.1.1

192.168.1.2

192.168.1.3

(etc)

 

-RunScript <script file name>

Run the specified script. You can use the -ScriptArgs option to specify one or more arguments to be passed to the script. You can also use the -Iconic option.

 

-RunScriptAndExit <script file name>

Run the specified script and exit. You can use the -ScriptArgs option (see below) to specify one or more arguments that are to be passed to script file name. You can also use the following options: -Iconic, -Logfile, and
-WaitForLicense.

 

Example: C:\Designer\designer.exe -runscriptandexit "c:\project1.vbs"
-scriptargs "Setup1"

 

Options

The following command-line options are available when running Designer/Nexxim from the command line.

 

<none>

If no run command is specified, only the following options are available:
-Help and -Iconic.

-Help

Open a window that displays the different command-line options.

-Iconic

Run Designer/Nexxim with its main window iconified (minimized).

-LogFile <log file name>

Specify a log file (used in conjunction with -BatchSave or -BatchSolve or
-RunScriptAndExit). If no log file name is specified, a log file with the default name of <project_name>.log will be written to the directory in which the Designer/Nexxim project (or specified script file) is located.

-ng

Run Designer/Nexxim in non-graphical mode (used in conjunction with
-BatchSave or -BatchSolve).

-WaitForLicense

Queue licenses (use in conjunction with -BatchSolve or
-RunScriptAndExit).

-ScriptArgs <scriptArguments>

Add arguments to the specified script (used in conjunction with -RunScript and -RunScriptAndExit).

ScriptArgs passes scriptArguments to script file name. You can pass multiple arguments to a script by enclosing the argument list in quotation marks. For instance, in the following example, Design1 is accepted by script file name as the first argument, and Setup1 is accepted as the second. Without quotation marks, Design1 is accepted as the first argument, and Setup1 is ignored.

 

Example: Designer -scriptargs "Design1 Setup1" -RunScriptAndExit c:\temp\test.vbs

 

 

The topics for this section include:

Batchoptions: TempDirectory

Batchoptions: Various Desktop Settings

Batchoptions: Project Directory and Lib Paths

Batchoptions: Designer and Designer-IE Options with Paths

 




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

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


 

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