.. highlightlang:: us .. index:: OBJSetVisible .. _objsetvisible: OBJSetVisible ============= .. us.tag OBJSetVisible NOTREADYENGLISH LayerSet New5603 :ref:`OBJSetVisible` shows or hides a diagram or drawing object. .. function:: bool = OBJSetVisible(hObj, bShow) .. us.return **Return Value** If the function succeeds, the return value *bool* is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hObj The handle of a diagram (see :ref:`LayerCreate`) or drawing object. .. uparam:: bShow If *bShow* is TRUE (1), the object will be displayed. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2014.3 - New. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`OBJGetVisible` :sub:`id-1731076`