::SetLabelText

This command will be used to create a label widget above the list collector widget.

Syntax

::model::mdlListCollector::SetLabelText argFrm argText

Application

MotionView Tcl

Description

This command will be used to create a label widget above the list collector widget.

Inputs

argFrm
You need to pass the path of the list collector in the above argument for which you need to create the label widget.
argText
This argument takes the text as an input for the label widget.

Example

::model::GetClientHandle client
client GetModelHandle mod
mod InterpretEntity frchandle ActionReactionForce frc_0 "\"Force\"" "SC_ROT" "" "B_Ground" "" "POINT" ""
set top [toplevel .test]
set colFrm [frame $top.tmpFrm1 ]
pack $colFrm
set types "{POINT Point align_pt1} {VECTOR Vector align_vec1}"
set list_col [::model::mdlListCollector $colFrm.lcol frchandle "align_meth1" "$types" -references { POINT VECTOR }]
pack $list_col
client ReleaseHandle
mod ReleaseHandle
frchandle ReleaseHandle
::model::mdlListCollector::SetLabelText $list_col "NAME" 

Errors

On successful execution of the command, a label widget will be created above the list collector.