PM_SET_SHOW_MODE_IN_VIEW

Syntax

int_val = PM_SET_SHOW_MODE_IN_VIEW ( view_handle, mode );
Input arguments
handle view_handle Handle of the view.
int mode Coloring mode:
MMT_VIEW_NORMAL – Objects are shown in normal colors.
MMT_VIEW_COLOR_BY_SYSTEM – Objects are colored by owner.

Return Values

Success:
int 0 Setting the color mode succeeded.
Failure:
int -1 Script interface error, invalid view handle or invalid 'mode'.

Description

This function defines whether the objects in a given view are shown using their "normal" color or a color that indicates who currently owns the objects.