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

微波射频仿真设计   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 or Removing Option Values in Configuration Files: UpdateRegistry Command           


Setting or Removing Option Values in Configuration Files: UpdateRegistry Command

A command line tool, UpdateRegistry, is available to modify option settings in the options config files. You can use this command to add, change or remove settings from any of the option config files. This tool is included in the installation directory of each product.

This feature is intended to make it easier for different users to use Ansoft tools installed on shared directories or network drives.

The UpdateRegistry command has two command line formats as shown below. The first format is used to set or change an option value. The second format is used to delete an option setting.

UpdateRegistry -Set Command

This command is used to add or modify an option setting in an option config file. If the option config file does not exist, it will be created. If the setting does not exist in the specified config file, it will be added. If the setting already exists in the specified config file, then the value will be changed to the specified value.

Usage:

UpdateRegistry -Set -ProductName <name> _
-RegistryKey <keyPath> _
-RegistryValue <value> [ -RegistryLevel <level> _
<name>

Required. The application or product name and version, as described above. Examples: Designer14.0, Maxwell15.0, or "Maxwell Circuit Editor15.0". If the name contains spaces, it must be quoted.

<keyPath>

Required. The pathname of the option setting. Example:

Desktop/Settings/ProjectOptions/AnimationMemory.

<value>

Required. The new value of the option, typically a string or a number. If the value contains spaces, it must be quoted.

<level>

Optional. A string denoting which config file to modify. One of: install, install_machine, user and user_machine. If the level is not specified, then the user_machine (host dependent user options) file is modified.

UpdateRegistry -Delete Command

This command is used to remove an option setting from an option config file. If the setting does not exist in the specified config file, the file will not be changed. If the setting exists in the specified config file, then it will be removed. A setting may need to be removed from an option config file, to allow the setting from a lower priority file to be used by the application.

Usage:

UpdateRegistry -Delete -ProductName <name> _
-RegistryKey <keyPath> _
[ -RegistryLevel <level> ]

<name>

Required. The application or product name and version, as described above. Examples: Designer14.0, Maxwell15.0, or "Maxwell Circuit Editor15.0". If the name contains spaces, it must be quoted.

<keyPath>

Required. The pathname of the option setting. Example:

Desktop/Settings/ProjectOptions/AnimationMemory.

<level>

Optional. A string denoting which option config file to modify. One of: install, install_machine, user and user_machine. If the level is not specified, then the user_machine (host dependent user options) file is modified.

Related Topics

Setting Options via Configuration Files

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