mdlIDataMember IsResolved

Determines whether or not a reference data member is resolved.

Syntax

mdlIDataMember_handle IsResolved resolve_refs

Application

MotionView Tcl Query

Description

This command determines if a data member has been resolved. The resolve_refs argument is used if the command is called upon a reference data member.

Inputs

resolve_refs
A boolean variable which is true by default.
True
The data member that it refers to will be checked to see if it is resolved or not.
False
The reference data member will be checked to see if it is resolved or not.

Example

To check to see if a data member is resolved:
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 point_handle p_ctp
point_handle GetChildHandle x_handle x
x_handle IsResolved true
x_handle ReleaseHandle
point_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle

Errors

Returns True if the data member is resolved, or False if the data member is not resolved. If there is an error, an error code will be returned.