display()

Set\get type of an actor.

Usage

actor.display( displayType = None )

Parameters

displayType (string)
Display type. Valid values are outline, solid, wireframe, contour, velocity_vector and none.

Return Value

String

If displayType = None, the current display type will be returned, or else None.

Errors

displayType must be valid.

Description

This routine sets\gets the display type of an actor. If displayType is None, the current display type will be returned. For example,
fan = vis.getSrfActor( "impeller" )
fan.display( 'solid_wire' )
or:
fanDisType = fan.display( )