.. highlightlang:: us .. _auto_xy_getparenthandle: auto_xy_GetParentHandle ======================= .. index:: auto_xy_GetParentHandle .. us.tag auto_xy_GetParentHandle NOTREADYENGLISH auto_xy :ref:`auto_xy_GetParentHandle` returns the handle of the diagram *hLayer*, page *hPage* and document *hDoc* in which the dataset is located. .. function:: = auto_xy_GetParentHandle(hDataset) .. us.return **Return Value** *hData*, *hLayer*, *hPage*, *hDoc* .. us.params **Parameters** .. uparam:: hDataset *hDataset* .. seealso:: :ref:`overview-automation`, :ref:`auto_LoadDataset`, :ref:`GetParent` :sub:`id-1177022`