HWC and Tcl
Use HWC commands in the Tcl Console.
HWC Wrapper
hwc
wrapper is on the same root level as the
hwi
parent handle. The wrapper allows you to execute the HWC
commands inside of Tcl by using hwc
as a prefix for this command:hwc <HWC Command>
- Example
- The HWC command to hide all components which contain the string “door”
in their
label:
hide component *door*
- Example
- The blank space between text= and "Value is required for the command to work:
HWC Class Tcl API
<sessionHandle> GetHWCHandle <hwc_handle>
<hwc_handle> LoadHWCFile <hwc_file>
<hwc_handle> EvalHWC <hwc_commands>
The <hwc_command> can consists of one or multiple commands separated by the pipe symbol, "|". If you copy multiple commands in the command line, the pipe symbol, "|", is automatically inserted.
hwc EvalHWC "section create planar Demo_Section"
hwc EvalHWC "section create planar Demo_Section | section Demo_Section grid=false"