::GetFirstCollector

This command will be used to get the address of the first collector within the mdlOrientation widget.

Syntax

::model::mdlOrientation::GetFirstCollector argFrm

Application

MotionView Tcl

Description

This command will be used to get the address of the first 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 first 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
tk_messageBox -message "First collector path: [::model::mdlOrientation::GetFirstCollector .test.tmpFrm1.ornt]"

Errors

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