- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
HFSS15: Exporting Options Files
The options files at all levels that may affect a product running as a specific user on a specific host may easily be exported. The Desktop UI may be used to copy these files to a user specified directory. A script command may also be used to copy these files to a specified directory.
Using the Desktop UI
You can export options files by selecting the Tools>Options>Export Options Files ... This brings up a browser dialog that you use to select the destination directory for the options files. Pressing the Cancel button will cancel the export command. Pressing the Open button will copy all of the config files for the current user and current host to the specified directory. Config files for the install, install_machine, user, and user_machine levels will be copied, if they exist. One additional file, admin.XML, will also be copied to the destination directory. This file does not contain user configurable options, and it is not discussed above.
Using a Script
A Desktop command has been added that exports the options config files. Here is a summary of the Desktop ExportOptionsFiles command:
ExportOptionsFiles
Use: Copies the options config files to the DestinationDirectory.
Command: Tools>Options>Export Options Files ...
Syntax: ExportOptionsFiles <DestinationDirectory>
Return Value: None
Parameters: <DestinationDirectory>
Type: <string>
Example:
oDesktop.ExportOptionsFiles "D:/test/export/"
Example Script Using the Desktop ExportOptionsFiles Command
A simple script demonstrating the use of this command is shown below. This script will copy the options config files to the directory D:/test/export.
Dim oAnsoftApp
Dim oDesktop
Set oAnsoftApp = CreateObject("AnsoftHfss.HfssScriptInterface")
Set oDesktop = oAnsoftApp.GetAppDesktop()
oDesktop.ExportOptionsFiles "D:/test/export/"
HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS
上一篇:Excitation Fields
下一篇:Exporting a Field Plot Marker Table