mdlIObject IsGraphic
Determines if the entity is a graphic entity.
Syntax
mdlIObject_handle IsGraphic
Application
MotionView Tcl Query
Description
This command determines if the entity is a graphic entity. Grab the appropriate handle for this command.
Example
To check to see if an entity is a graphic entity:
Note: Load the
slider_crank.mdl model file before running this
example.
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 GetChildHandle gra_handle gra_crod
gra_handle IsGraphic
gra_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack
Errors
Returns true if the entity is a graphic entity, otherwise false.