plt3DICursor GetParent

Gets the unique variable name (varname) of the cursor’s parent object.

Syntax

plt3DICursor_handle GetParent

Application

HyperWorks Tcl Query

Description

The parent variable name always corresponds to the entity, such as a surface or curve, that the cursor is associated with. Returns the unique varname of the parent.

Example

To get the varname of the cursor’s parent:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetSurfaceHandle mySurfaceName 1
mySurfaceName GetCursorHandle myCursorName 1
myCursorName GetParent
mySurfaceName GetVarname

Errors

Returns an empty string if the value is not defined.