.. highlightlang:: us .. index:: ObjGet .. _objget: ObjGet ====== .. us.tag ObjGet ENGLISH :ref:`ObjGet` returns values from objects. .. function:: dat = ObjGet(handle, index) dat = ObjGet(handle, index, dat1, ...) .. us.return **Return Value** The type of the return value depends *dat* on the argument of :ref:`ObjGet` (see example). .. us.params **Parameters** .. uparam:: handle This parameter is the handle of an object. .. uparam:: index This parameter is an index number of a subfunction. For example, the index number 26 returns the axis labels if the handle is a diagram. .. uparam:: dat1 *dat1* is the first of 0 or more parameters which are passed to the object. .. us.comment **Comment** The ObjGet function is normally not called directly (see example). .. us.example **Example** :: def LayerGetAxisLabel(hlayer, ssXYZ) { return ObjGet(hlayer, 26, ssXYZ); } .. seealso:: :ref:`overview-objects`, :ref:`ObjCreate`, :ref:`ObjGetOk`, :ref:`ObjSet` :sub:`id-1942139`