mdlIObject IsDataSetData

Determines whether or not the entity belongs to a DataSet.

Syntax

mdlIObject_handle IsDataSetData

Application

MotionView Tcl Query

Description

This command determines if the entity is a member of a DataSet or not.

Example

To check to see if an entity is a member of a DataSet:
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 InterpretEntity ds_handle DataSet ds_0 "\"DataSet 0\"" ds_def_0
ds_handle  InterpretEntity int_handle Integer int_0 \"INTEGER1\"
int_handle IsDataSetData  #It returns true
ds_handle IsDataSetData #It returns false
int_handle ReleaseHandle;
ds_handle ReleaseHandle;
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns true if the object belongs to a DataSet, or false if it is not.