::GetPanelSelection

This command returns the full varname of the last selected entity for the specified Tcl panel. If there had not yet been a selection for the specified panel, if there had been a pick for the System panel, that is returned, otherwise an empty string is returned.

Syntax

::model::GetPanelSelection argPanel

Application

MotionView Tcl

Description

This command returns the full varname of the last selected entity for the specified Tcl panel. If there had not yet been a selection for the specified panel, if there had been a pick for the System panel, that is returned, otherwise an empty string is returned.

Inputs

argPanel
We need to send the type of entity as an argument.

Example

::model::GetPanelSelection Point

Errors

Returns a full varname if successful, otherwise an empty string.