Execute HWC Files
You can run HWC command files in the following ways:
File Menu Support
- From the File menu, select to execute the HWC command.
Custom Menus
Menus used to execute customized HWC scripts can be loaded from a customized preference file, preference.mvw. From the File menu, select to display the Preferences dialog. From this dialog, register and load the preference.mvw file.
*Id("HyperWorks", "20.")
*BeginDefaults()
*BeginGraphicDefaults()
*BeginMenu(dummy, "Demo")
*MenuItem(dummy, "Demo HWC", HWC, "c:/…./demo_script.hwc")
*EndMenu()
*EndGraphicDefaults()
*EndDefaults()
The custom menu is displayed in the menu bar.