• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > HFSS > HFSS help > Customizing the Tools Menu: External Tools

HFSS15: Customizing the Tools Menu: External Tools

录入:edatop.com     点击:

To add an executable to the Tools menu:

1. Click Tools>External Tools

2. This displays the Customize User Tools Menu dialog.

If a User Tools menu item has been defined, its contents are displayed. Command buttons let you Add new commands and Delete selected commands, and Move Up and Move Down commands. This example shows the Reflective.exe program added to the tools menu, and called Reflective on the Tools menu. You can specify the command line arguments to the program and the directory in which it will be run.

3. To add a custom Tools menu entry, click the Add button in the Customize User Tools Menu dialog.

This enables the following fields:

Menu Text field -- this displays [new tool] as text you will replace with the text you want to appear in the User Tools menu.

Command field -- this will display the external executable. An ellipsis button [...] lets you navigate to the file location.

Arguments field -- this field accepts command arguments from the > button menu selections for File Path, File Directory, File Name, File Extension, Project Directory, or Temp Directory.

Initial Directory -- this field specifies the initial directory for the command to operate. The ellipsis button {...] displays a dialog that lets you navigate folders in your desktop, or across the network.

4. Click OK to add the External Tools menu to HFSS or Cancel to close the dialog without changes.

You can also add scripts to the Tools menu. Assuming you have a script to generate custom reports called report.vbs, use the cscript.exe program to execute your script.

This example shows the cscript.exe program added to the Tools menu as Run My Script. The command line argument to the csscript.exe program is report.vbs. You can also name the directory in which it will be run.

HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS

上一篇:Deembedding
下一篇:Creating Smith Contour Charts

HFSS视频培训课程推荐详情>>
HFSS教程推荐

  网站地图