::GetLastCollectorType

This command will be used to get the type of the last collector within the orientation widget “mdlCollector/mdlListCollector”.

Syntax

::model::mdlOrientation::GetLastCollectorType argFrm

Application

MotionView Tcl

Description

This command will be used to get the type of the last collector within the orientation widget “mdlCollector/mdlListCollector”.

Inputs

argFrm
We need to pass the path of the mdlOrientation widget as the above argument, from which we need to get the type 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 colType [::model::_private::mdlOrientation::GetLastCollectorType  .test.tmpFrm1.ornt]
tk_messageBox -message "Last collector type: $colType"

Errors

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