hgtrans control GetLabelAliasPattern
Gets the pattern associated with a previously defined alias.
Syntax
hgtrans control GetLabelAliasPattern subcase, datatype, level, index
Application
HyperGraphTrans Tcl Get
Description
This command gets the pattern associated with a previously defined aliasing rule.
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
- index
- The index of the rule. One-based. It must be an integer greater than zero.
Example
hgtrans control AddLabelAliasRule "head" "cabeza" "Subcase 1" "Displacement" request
hgtrans control GetLabelAliasPattern "Subcase 1" "Displacement" request 1Errors
Returns an empty string if no matching rule exists.
Keywords
get channel alias