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

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

 

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

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


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


Working with Designer Projects >
   Setting Options via Configuration Files       


Setting Options via Configuration Files

In addition to setting options from the Desktop UI, you can also set options in several configuration files. Options that you set from the Desktop UI will override the option settings from the configuration files. The option settings from the configuration files are used if they are not overridden using the Desktop UI. Option settings in the configuration files may apply to all users or only to a specific user, and they may apply to all hosts or only to specific hosts. There are four levels, listed below from most specific (highest precedence) to most general (lowest precedence):

• host dependent user options (apply to the specified user on the specified host only)

• host independent user options (apply to the specified user on all hosts)

• host dependent default options (apply to all users on the specified host)

• installation default (default for all users on all hosts)

A setting at any level will override settings at lower levels in the list above. If there is no setting in any file, then the application default value will be used.

Behavior Examples

Rules for Modifying Option Settings

Configuration File Locations

Products with Multiple Desktop Applications

Table of Directories and Files

Behavior Examples

For example, consider running an application as user jsmith on host host123. If there is no host dependent user setting for the "Expand Project Tree on Insert" option in the host dependent user options config file for user jsmith on host host123, but there is a setting for the "Expand Project Tree on Insert" option in the host independent user options config file for user jsmith, then the latter setting will be used if it is not overridden using the Desktop UI. Any settings in the host dependent default options config file or the installation default config file will be ignored.

As another example, consider running an application as user jdoe on host host123. If there is no setting for the "Expand Project Tree on Insert" option in the host dependent user user options config file for jdoe on host123 or in the host independent user options config file for user jdoe or in the host dependent default options config file for host host123, then the value from the installation default config file will be used, if present.

Rules for Modifying Option Settings

Option settings displayed in the Desktop UI follow the above rules. That is, if there is a setting in any of the option config files, then the setting from the highest priority config file is displayed in the Desktop UI. If there is no setting in any of the option config files, then the global default value is used. You can modify settings using the Options dialog boxes in the Desktop UI. If the dialog box is closed with the "Cancel" button, then changes made on any of the tabs are discarded. If the dialog box is closed with the "OK" button, then any settings that have been changed by the user are written to the host dependent user options config file. The changed values written to this file are then used the next time that the application is run by the same user on the same host. The Desktop UI option settings are not written to any of the other option config files.

Configuration File Locations

Two of the configuration files (the host dependent default options config file and the installation default config file) reside in the installation config directory, which is the "config" subdirectory of the installation directory. The other two configuration files (the host dependent user options config file and the host independent user options config file) reside in a user specific config directory for the application. The user specific config directory for an Ansoft application is in a subdirectory of the user's My Documents directory on Windows, or a subdirectory of the user's HOME directory on Linux. The subdirectory pathname is Ansoft/ApplicationPathAndVersion/config, where ApplicationPathAndVersion is the usually the product name concatenated with the product version, such as Designer14.0.

Products with Multiple Desktop Applications

For products that have multiple Desktop applications, each Desktop application will have a separate user specific config directory, with a different value for the ApplicationPathAndVersion directory name. For example, the Maxwell 15.0 product contains two Desktop applications: Maxwell and Maxwell Circuit Editor. For the Maxwell application, the user specific config subdirectory pathame is Ansoft/Maxwell15.0/config. For the Maxwell Circuit Editor application, the user specific config subdirectory pathame is Ansoft/Maxwell Circuit Editor15.0/config. For products that contain multiple Desktop applications, the installation default option settings and the host dependent default options settings each reside in a single file for all applications, while the host dependent user option settings and host independent user option settings for each application are in separate files. Although the installation default option settings and the host dependent default options settings for all applications are each written to a single file, the settings for different applications are in separate portions of the file.

Table of Directories and Files

The table below shows the directories and files, where the "Level Name" is the name used to describe an options config file when using the UpdateRegistry? tool, described below.

[spacer]

NOTES:

$HOME is the user's home directory on Linux

ApplicationPathAndVersion is the Application or Product name concatenated with the Product Version

MyDocuments is the user's "My Documents" directory on Windows

InstallationDirectory is the directory where the product is installed

The table below shows specific file names and directory names for a typical Maxwell 15.0 installation on the Linux and 32 bit Microsoft Windows platforms. These are the files that apply to user jsmith and hostname host123.

[spacer]

NOTES:

/home/jsmith is the home directory of user jsmith on Linux

MyDocuments is the "My Documents" directory for user jsmith on Windows

The Maxwell 15.0 product is installed in directory /opt/Ansoft/maxwell15.0 on Linux

The Maxwell 15.0 product is installed in directory C:/Program Files/Ansoft/Maxwell15.0/Win32 on 32 Bit Microsoft Window

Related Topics

Setting or Removing Option Values in Configuration Files: UpdateRegistry Command

Example Uses for Export Options Features

User Options and the Update Registry Tool

Batchoptions Command Line Examples




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

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


 

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