.. highlightlang:: us .. index:: auto_xyz_SetStyle .. _auto_xyz_setstyle: auto_xyz_SetStyle ================= .. us.tag auto_xyz_SetStyle NOTREADYENGLISH :ref:`auto_xyz_SetStyle` sets the style of a 3D dataset. .. function:: bool = auto_xyz_SetStyle(hData, ssStyle) bool = auto_xyz_SetStyle(hData, nStyleIndex) .. us.return **Return Value** *bool* is TRUE (1) if the function was successful, otherwise FALSE (0). .. us.params **Parameters** .. uparam:: hData *hData* is the handle of a 3D dataset. The handle is returned by the function :ref:`auto_LoadDataset`. .. uparam:: ssStyle *ssStyle* is the name of a style in the active style file. .. uparam:: nStyleIndex *nStyleIndex* is the index of the style. The first style has the index 1. .. seealso:: :ref:`overview-automation`, :ref:`auto_LoadStyleFile`, :ref:`auto_LoadDataset` :sub:`id-2095543`