hgtrans control ClearLabelAliasRules
Clears currently defined aliases.
Syntax
hgtrans control ClearLabelAliasRules subcase, datatype, level
Application
HyperGraphTrans Tcl Clear
Description
This command clears the currently defined aliasing rules for a specificed subcase, datatype, and level.
Inputs
- subcase
- The name of the subcase in which to apply the rule.
- datatype
- The name of the datatype in which to apply the rule. (Does not apply if the level is “subcase”.)
- level
- The level of labels at which to apply the rule.
- datatype
- request
- component
Example
Add a rule to change the word “head” in all request names to its Spanish equivalent
“cabeza”, erase it, and then check that it is
erased.
hgtrans control AddLabelAliasRule "head" "cabeza" "Subcase 1" "Displacement" request
hgtrans control ClearLabelAliasRules "Subcase 1" "Displacement" request
hgtrans control GetNumberOfLabelAliasRules "Subcase 1" "Displacement" request
Errors
None.
Keywords
get channel alias