mdlIObject OutlineGraphic

Highlights the outline of a graphic for visual identification of that particular graphic.

Syntax

mdlIObject_handle OutlineGraphicoutline_state

Application

MotionView Tcl Query

Description

Use this command to check and verify graphics. When executed, this command will outline the requested graphic allowing you to identify it in the graphics area.

Inputs

outline_state
Asks whether or not the outline is to be highlighted.
True
The outline will be identified and highlighted.
False
The outline will not be highlighted.

Example

To view a particular graphic whose index number is known:
hwi OpenStack
hwi GetSessionHandle mySessionName 
mySessionName GetProjectHandle myProjectName 
set activePageNum [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $activePageNum
set activeWinNum [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $activeWinNum
myWindowName GetClientHandle myClientName 
myClientName GetModelHandle myModelName 
myModelName BeginFlatListFastGet Graphic
myModelName GetChildHandleByIdx graphic_handle 2
graphic_handle OutlineGraphic True
graphic_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns 0 if successful, otherwise an error code.