*hf_setTLPOL

Moves the specified line to the specified component and sets it as TL or POL.

Syntax

*hf_setTLPOL suffix color line_id flag_TL flag_POL

Type

HyperMesh Tcl Modify Command

Description

This command moves the specified line to the specified component and sets it as TL or POL.

Inputs

suffix
The component suffix.
color
The component color. Valid values are 1 through 64.
line_id
The ID of the line of interest.
flag_TL
Flag that indicates whether to set the line as TL. Valid values are:
  • 0 - Do not set as TL.
  • 1 - Set as TL.
flag_POL
Flag that indicates whether to set the line as POL. Valid values are:
  • 0 - Do not set as POL.
  • 1 - Set as POL.

Example

To set line 22 like a TL into a component with suffix "TL":
*hf_setTLPOL "TL" 7 22 1 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0