::Update

The above command will display the current value in the mdlOption widget which is set in the value data member.

Syntax

::model::mdlOption::Update argFrm

Application

MotionView Tcl

Description

The above command will display the current value in the mdlOption widget which is set in the value data member.

Inputs

argFrm
We need to pass the path of the mdlOption widget as the above argument for which we need to display the value.

Example

set top [toplevel .test]
set colFrm [frame $top.tmpFrm1 ]
pack $colFrm
::model::GetHandleFromFullVarname dsms MODEL.DS_MotionSolve_Simopts
set optSimType [::model::mdlOption $colFrm.optSimType dsms "analysis_type"]
pack $optSimType
dsms ReleaseHandle
::model::mdlOption::Update $optSimType

Errors

On successful execution of the command, the current value will be displayed.