::GetLastCollector

This command will be used to get the type of the last collector within the mdlOrientation widget.

Syntax

::model::mdlOrientation::GetLastCollector argFrm

Application

MotionView Tcl

Description

This command will be used to get the type of the last collector within the mdlOrientation widget.

Inputs

argFrm
We need to pass the path of the mdlOrientation widget as the above argument, from which we need to get the address of the last collector.

Example

::model::GetClientHandle client
client GetModelHandle mod
mod InterpretEntity mrk Marker mrk_0 "\"Marker 0\"" "" ""
set top [toplevel .test]
set colFrm [frame $top.tmpFrm1 ]
pack $colFrm
set ornt [::model::mdlOrientation $colFrm.ornt mrk]
pack $ornt
client ReleaseHandle
mod ReleaseHandle
mrk ReleaseHandle
set col [::model::_private::mdlOrientation::GetLastCollector .test.tmpFrm1.ornt]
tk_messageBox -message "Last collector path: $col"

Errors

On successful execution of the command, it will return the address of the last collector widget.