Go to: Synopsis. Return value. MEL examples.

Synopsis

void displayStyle( string $flag )

Changes the current display style in the active window.

Return value

None

Arguments

Variable Name Variable Type Description
$stylestringSingle style type to enable on the window. -h/-help = Show this help information -tx/-textured = Use textured display -ss/-smoothshaded = Use smooth shaded display -w/-wireframe = Use wireframe display -wos/-wireframeOnShaded = Use wireframe-on-shaded display -nowos/-noWireframeOnShaded = Use wireframe-on-shaded display -db/-doubleBuffer = Use double buffer mode -sb/-singleBuffer = Use single buffer mode

MEL examples

	displayStyle -textured
	[ Window switches to textured object display]

	displayStyle -textured
	[ No effect - textured display mode is already on]

	displayStyle -wireframe
	[ Window switched to wireframe object display]